域-模块文件是由较早版本的编译器创建的 [英] Realm - module file was created by an older version of compiler
本文介绍了域-模块文件是由较早版本的编译器创建的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用最新版本的xcode和swift 2.2.我的一个项目,由于错误,我已经开了好几个月了,现在没有建设
module file was created by an older version of compiler
I use latest version of xcode and swift 2.2. One of my projects, which I havent open for several month now not building, because of error
module file was created by an older version of compiler
我尝试了以下
- 从项目中删除领域框架,然后从realm.io下载最新版本并将新框架复制到项目中
- 使用
REALM_SWIFT_VERSION=2.2
从github源使用build.sh build
构建领域,并添加到项目中
- Removed realm frameworks from project, then download the latest version from realm.io and copy the new frameworks to project
- Building realm by
build.sh build
from github sources withREALM_SWIFT_VERSION=2.2
and adding to project
这些都不起作用,仍然有错误.
Neither of these helped, still got error.
有什么建议吗?
推荐答案
您可以尝试以下方法吗?
Can you try the following?
- 删除派生数据
- 清理构建文件夹(按住Option键的同时单击Xcode的 Product 菜单,然后选择 Clean Build Folder 菜单项)
- Delete derived data
- Clean the build folder (click on Xcode's Product menu while holding down the Option key, and choose the Clean Build Folder menu item)
有时候仅仅执行干净的构建不足以清除无效的中间产品或缓存的数据.
Sometimes simply performing a clean build isn't sufficient to flush the invalid intermediate products or cached data.
这篇关于域-模块文件是由较早版本的编译器创建的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文