Sam*_*tin 7 iphone xcode continuous-integration objective-c ios
嗨,您好.我正在尝试使用xcode 5和OS X Server为我的iOS应用程序配置持续集成.我将证书和p12添加到系统KeyChain,我还将配置文件复制到配置文件的服务器文件夹.集成失败,日志显示错误消息
短消息:
命令/ usr/bin/codesign失败,退出代码为1
完整信息:
CodeSign /Library/Server/Xcode/Data/BotRuns/Cache/c60acccd-d128-d128-b0e3-070a65bdd9dc/DerivedData/Build/Intermediates/ArchiveIntermediates/MomentSeller/InstallationBuildProductsLocation/Applications/MomentSeller.app cd/Library/Server/Xcode/Data/BotRuns/Cache/c60acccd-d128-d128-b0e3-070a65bdd9dc/source/Moment setenv CODESIGN_ALLOCATE /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate setenv PATH"/ Applications/Xcode. app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/ usr/bin:/ bin:/ usr/sbin:/ sbin"Using代码签名身份"iPhone分发:公司名称.(ZX6C5SJYP9)"和配置文件"Moment Seller Production"(E6FC8157-98F3-4A28-BFF3-36EFA6334019)codesign --force --sign C2F81E886780437B90630A748111D3340DC8EFC8 --resource-rules =/Library /服务器/ Xcode中/数据/ BotRuns /缓存/ c60acccd-D128-D128-b0e3-070a65bdd9dc/DerivedData /编译/中间体/ ArchiveInterm ediates/MomentSeller/InstallationBuildProductsLocation/Applications/MomentSeller.app/ResourceRules.plist --entitlements/Library/Server/Xcode/Data/BotRuns/Cache/c60acccd-d128-d128-b0e3-070a65bdd9dc/DerivedData/Build/Intermediates/ArchiveIntermediates/MomentSeller /IntermediateBuildFilesPath/Moment.build/Release-iphoneos/MomentSeller.build/MomentSeller.xcent/Library/Server/Xcode/Data/BotRuns/Cache/c60acccd-d128-d128-b0e3-070a65bdd9dc/DerivedData/Build/Intermediates/ArchiveIntermediates/MomentSeller /InstallationBuildProductsLocation/Applications/MomentSeller.app /Library/Server/Xcode/Data/BotRuns/Cache/c60acccd-d128-d128-b0e3-070a65bdd9dc/DerivedData/Build/Intermediates/ArchiveIntermediates/MomentSeller/InstallationBuildProductsLocation/Applications/MomentSeller.app:User不允许互动.命令/ usr/bin/codesign失败,退出代码为1
**存档失败**
以下构建命令失败:CodeSign /Library/Server/Xcode/Data/BotRuns/Cache/c60acccd-d128-d128-b0e3-070a65bdd9dc/DerivedData/Build/Intermediates/ArchiveIntermediates/MomentSeller/InstallationBuildProductsLocation/Applications/MomentSeller.app(1 failure )
有任何想法吗?谢谢.
jer*_*e10 10
我自己遇到了这个问题.这篇博客帮助了我.http://matt.vlasach.com/xcode-bots-hosted-git-repositories-and-automated-testflight-builds/
由Dominik Kroutvar发布:
不允许用户交互.命令/ usr/bin/codesign失败,退出代码为1
如果不手动进行以下设置,则会发生此错误.如上面的一篇文章中所述,您必须将用于代码签名的mobileprofile放入系统密钥链中.该证书称为iPhone Distribution:此分发证书必须具有私钥!通过双击私钥或通过上下文菜单>获取信息打开"设置"对话框.然后转到Access控件并将/ usr/bin/codesign放入表中.这允许codesign应用程序对您构建的应用程序进行签名.之后一切都应该没有无意义的编码错误退出代码1.
归档时间: |
|
查看次数: |
7214 次 |
最近记录: |