无法使用xcode 8 beta 6构建项目
通过迦太基添加库后,出现以下错误-
I am getting following error after I add a library via carthage -
库名称使用较早版本的Swift语言(2.0)编译 比先前版本(x86_64)的文件(3.0)
library name compiled with older version of Swift language (2.0) than previous files (3.0) for architecture x86_64
我已经在Argo库中尝试过了. ( https://github.com/thoughtbot/Argo )
I have tried it with Argo library. (https://github.com/thoughtbot/Argo)
我已使用xcode-select实用工具选择了正确的xcode版本.
I have selected the correct xcode version using xcode-select utility.
可能是什么问题?任何帮助将不胜感激
What could be the problem? Any help is greatly appreciated
谢谢!
据我了解,您似乎无法使用不同版本的Swift编写库.
From what I learned, looks like you can't have libraries written in different versions of Swift.
在我的Obj-C项目中,我用CocoaPods安装了2个库 我使用github上的swift3分支更新了第一个,并使用Xcode转换了第二个.
In my Obj-C project I had 2 libs installed with CocoaPods I updated the first one using the swift3 branch on github, and I converted the second one with Xcode.
现在一切正常!