我试着用领域来构建一个项目,这个领域是用荚安装的。我做过这件事
1) Updated to XCode 9
2) Run "pod update". Note the podfile has SWIFT_VERSION set to 3.2
3) Checked in XCode settings that Swift Language version is set to 3.2
for all the projects and targets.
4) Deleted derived data
5) Cleaned everything
6) Quit and re-launched XCode
7) Rebuilt everything, including explicitly rebuilding the Realm targets尽管所有的设置都被设置为Swift 3.2,尽管清除了所有内容,尽管删除了派生数据,尽管重新构建了所有的数据。不过,我还是不断地收到这样的错误:
使用Swift 3.0.2编译的模块不能在Swift 3.2中导入。
RealmSwift库就是这么说的。
为什么,当RealmSwift目标设置为3.2,并且它已经重建,为什么它仍然说它的3.0.2?
发布于 2017-09-26 18:40:39
试试这个:
RealmSwiftRealmSwift重新添加到pod文件中https://stackoverflow.com/questions/46433513
复制相似问题