我已经从github克隆了this iOS application,并尝试使用carthage update
运行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"
现在我不知道这是否特定于该项目(虽然我不这么认为,这是一个非常受欢迎的,没有其他人似乎在抱怨)。所以我倾向于认为这是我做错了或者我的环境出了问题。
答案 0 :(得分:1)
您无需支付Xcode 7即可构建/安装应用程序,只需将Apple ID登录到Xcode即可。