Xcode 8无法用迦太基构建

时间:2016-10-08 10:00:00

标签: xcode carthage

我正在将我的项目从7.3.1迁移到8.0,并且我在旧版本的Swift中编写了一些代码,所以我将Use Legacy Swift Language Version设置为YES。当我构建并运行时,我得到了这个: 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 Build版本8A218a
*您使用的是--no-build吗? NO
*您使用的是--no-use-binaries吗? YES
*您使用的是--use-submodules吗? NO

Cartfile 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.

1 个答案:

答案 0 :(得分:0)