Regarding Header 'RealmSwift-Swift.h' not found error

可紊 提交于 2019-12-23 09:50:06

问题


I've updated my Xcode to the Xcode 10.0 beta version and tried to run a project with realmswift in it, now i'm facing an error where it says:

Header 'RealmSwift-Swift.h' not found


回答1:


I noticed this after trying out the "Conversion to Swift 4.2" button (which failed for me). When I switched to another target where I didn't run this yet, the project built without problems. And after cleaning the project properly, the failing target worked again.

Please note that according to the Release Notes this beta has several "known issues" regarding cleaning, including this one (which has the workaround for it listed, too):

So you might want to try deleting the DerivedData folder manually on top of cleaning in Xcode.



来源:https://stackoverflow.com/questions/50689246/regarding-header-realmswift-swift-h-not-found-error

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!