Xcode 8 不能用迦太基建造

Xcode 8 Can not build with carthage

我正在将我的项目从 7.3.1 迁移到 8.0,并且我有一些代码是用旧版本 Swift 编写的,所以我将使用旧版 Swift 语言版本设置为是。当我构建 运行 时,我得到了这个: Module file was created by an older version of the compiler; rebuild 'Charts' and try again

这是一种 Swift 兼容性问题,然后我使用 carthage update --no-use-binaries,我从 xcodebuild 中得到错误。

详情见下文

*carthage version: 0.18-19-g743fa0f
*xcodebuild -version:Xcode 8.0 构建版本 8A218a
*您使用的是 --no-build 吗?没有
*您使用的是 --no-use-binaries 吗?是
*您使用的是 --use-submodules 吗?没有

购物车文件 github "SnapKit/SnapKit" >= 0.15.0 github "danielgindi/Charts" == 2.3.0 github "ReactiveCocoa/ReactiveCocoa"

迦太基输出 *** Fetching ReactiveCocoa *** Fetching Charts *** Fetching SnapKit *** Fetching Result *** Fetching realm-cocoa *** Checking out realm-cocoa at "v1.1.0" *** Checking out Charts at "v2.3.0" *** Checking out Result at "2.1.3" *** Checking out ReactiveCocoa at "v4.2.2" *** Checking out SnapKit at "3.1.0" *** xcodebuild output can be found in /var/folders/n4/ly193t_d7d1326f41qn6d7fr0000gn/T/carthage-xcodebuild.xnRGEX.log *** Building scheme "Realm" in Realm.xcworkspace 2016-10-08 17:10:14.761 xcodebuild[18149:896423] [MT] DVTPlugInManager: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for KSImageNamed.ideplugin (com.ksuther.KSImageNamed) not present A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/jieding/Desktop/hfsparent/Carthage/Checkouts/SnapKit/SnapKit.xcworkspace -scheme "SnapKit OSX" -configuration Release CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean -showBuildSettings) failed with exit code 66: 2016-10-08 17:10:34.535 xcodebuild[18361:897289] [MT] DVTPlugInManager: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for KSImageNamed.ideplugin (com.ksuther.KSImageNamed) not present xcodebuild: error: Scheme SnapKit OSX is not currently configured for the clean action.

这里解决了Xcode 8 Can not build with carthage #1520