【发布时间】:2016-10-02 03:52:14
【问题描述】:
无法确定实际问题,在更新 coco pod 期间收到消息“由于主要版本更新,正在重新创建 CocoaPods。” (只出现过一次)并且 pod 更新成功。在构建之后我得到了错误。 命令 /bin/sh 失败,退出代码为 1。 下面是我得到的一些细节
Code Signing /Users/Gaurav/Library/Developer/Xcode/DerivedData/Appname-******/Build/Products/Debug-iphoneos/Appname.app/Frameworks/Alamofire.framework with Identity iPhone Developer: Account Name (Account Id)/usr/bin/codesign --force --sign ***************** --preserve-metadata=identifier,entitlements "/Users/UserName/Library/Developer/Xcode/DerivedData/Appname-***************/Build/Products/Debug-iphoneos/Appname.app/Frameworks/Alamofire.framework"/Users/Username/Library/Developer/Xcode/DerivedData/Appname-************/Build/Products/Debug-iphoneos/Appname.app/Frameworks/Alamofire.framework: bundle format unrecognized, invalid, or unsuitable
我使用 iOS 8 作为部署目标和 Xcode 7.3.1 我已经检查了没有任何问题的代码签名身份。我也重新安装了所有 pod 和 Alamofire,但没有发现问题。
【问题讨论】:
标签: ios xcode swift alamofire code-signing