Carthage 代码符号错误
Carthage Code Sign Error
我已经按照文档中的说明用 carthage update
克隆了 this iOS application from github and tried running carthage。但是,当我这样做时,我收到一条错误消息(实际上,这是我的整个终端输出):
Deans-MacBook-Air:SwiftWeather deang$ carthage update
*** Fetching SwiftyJSON
*** Fetching Alamofire
*** Checking out Alamofire at "1.3.1"
*** Checking out SwiftyJSON at "2.2.1"
*** xcodebuild output can be found in /var/folders/p0/chbxzj8920v2gwrqfcnb8p380000gn/T/carthage-xcodebuild.fdWo4D.log
*** Building scheme "Alamofire OSX" in Alamofire.xcworkspace
*** Building scheme "Alamofire iOS" in Alamofire.xcworkspace
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
CodeSign error: code signing is required for product type 'Framework' in SDK 'iOS 8.4'
A shell task failed with exit code 65:
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Deans-MacBook-Air:SwiftWeather deang$
Cartfile
看起来像这样:
github "Alamofire/Alamofire"
github "SwiftyJSON/SwiftyJSON"
现在我不知道这是否是该项目特有的(虽然我不这么认为,它是一个很受欢迎的项目,似乎没有其他人在抱怨)。所以我倾向于认为这是我做错了什么或者我的环境有问题。
您可以 build/install 该应用程序无需支付 Xcode 7,只需将您的 Apple ID 登录到 Xcode。
我已经按照文档中的说明用 carthage update
克隆了 this iOS application from github and tried running carthage。但是,当我这样做时,我收到一条错误消息(实际上,这是我的整个终端输出):
Deans-MacBook-Air:SwiftWeather deang$ carthage update
*** Fetching SwiftyJSON
*** Fetching Alamofire
*** Checking out Alamofire at "1.3.1"
*** Checking out SwiftyJSON at "2.2.1"
*** xcodebuild output can be found in /var/folders/p0/chbxzj8920v2gwrqfcnb8p380000gn/T/carthage-xcodebuild.fdWo4D.log
*** Building scheme "Alamofire OSX" in Alamofire.xcworkspace
*** Building scheme "Alamofire iOS" in Alamofire.xcworkspace
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
CodeSign error: code signing is required for product type 'Framework' in SDK 'iOS 8.4'
A shell task failed with exit code 65:
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Deans-MacBook-Air:SwiftWeather deang$
Cartfile
看起来像这样:
github "Alamofire/Alamofire"
github "SwiftyJSON/SwiftyJSON"
现在我不知道这是否是该项目特有的(虽然我不这么认为,它是一个很受欢迎的项目,似乎没有其他人在抱怨)。所以我倾向于认为这是我做错了什么或者我的环境有问题。
您可以 build/install 该应用程序无需支付 Xcode 7,只需将您的 Apple ID 登录到 Xcode。