迦太基更新 - 任务失败,退出代码65
问题描述:
我已经安装了2个版本的Xcode,8.3.2和8.2.1。迦太基更新 - 任务失败,退出代码65
我的工作是写在斯威夫特2和安装迦太基通过一些第三方的项目。 拉分支我做carthage update
后:然后我得到这个错误:
$ carthage update
*** Fetching SwiftyJSON
*** Fetching Alamofire
*** Fetching Reachability.swift
*** Fetching AlamofireImage
*** Checking out Alamofire at "3.5.1"
*** Checking out AlamofireImage at "2.5.0"
*** Checking out Reachability.swift at "v2.4"
*** Checking out SwiftyJSON at "54017d514a87b2b855b407131292c510cdeb65f8"
*** xcodebuild output can be found in /var/folders/6s/5fm277hs03qb526nqykyplk40000gn/T/carthage-xcodebuild.JxFgDC.log
*** Building scheme "Alamofire watchOS" in Alamofire.xcworkspace
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -workspace /Users/maor/myProj/myProj/Carthage/Checkouts/Alamofire/Alamofire.xcworkspace -scheme Alamofire\ watchOS -configuration Release -derivedDataPath /Users/maor/Library/Caches/org.carthage.CarthageKit/DerivedData/Alamofire/3.5.1 -sdk watchos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/6s/5fm277hs03qb526nqykyplk40000gn/T/carthage-xcodebuild.JxFgDC.log
part of carthage-xcodebuild.JxFgDC.log
=== CLEAN TARGET Alamofire watchOS OF PROJECT Alamofire WITH CONFIGURATION Release ===
Check dependencies
“Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
** CLEAN FAILED **
The following build commands failed:
Check dependencies
(1 failure)
=== BUILD TARGET Alamofire watchOS OF PROJECT Alamofire WITH CONFIGURATION Release ===
Check dependencies
“Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
答
最后,在删除Xcode 8.3.2之后解决的问题
答
如果你安装了Xcode中的两个版本,你可以做列表: EXCUTE壳:Xcode中,选择S(您xcode.app的路径)
+0
事实证明,这对我来说是关键。使用最近安装的新版本的Xcode,我需要确保'xcode-select'指向正确的工具链。谢谢! – RonDiamond
嗨,有什么用Xcode的问题8.3.2?这是现在最新的Xcoder版本。 –
@vietstone我想问题是两个Xcode的安装..也许有什么问题的路径..卸载后的8.3.2它解决了。 – Maor