在“提交...”向导中选择我的应用程序记录和签名身份后,我收到此错误。我根据本网站的答案检查了各种各样的事情:
我没有使用任何权利(Xcode 4.2,没有iCloud支持)
Validate /Users/leonelgalan/Library/Developer/Xcode/DerivedData/alma-dhzvecjmumvhvggrmlmqpnjblkoy/ArchiveIntermediates/alma/InstallationBuildProductsLocation/Applications/alma.app
cd /Users/leonelgalan/Documents/workspace/ios/alma
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv PRODUCT_TYPE com.apple.product-type.application
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/Validation /Users/leonelgalan/Library/Developer/Xcode/DerivedData/alma-dhzvecjmumvhvggrmlmqpnjblkoy/ArchiveIntermediates/alma/InstallationBuildProductsLocation/Applications/alma.app
warning: Application failed codesign verification. The signature was invalid, or it was not signed with an iPhone Distribution Certificate. (-19011)
Executable=/Users/leonelgalan/Library/Developer/Xcode/DerivedData/alma-dhzvecjmumvhvggrmlmqpnjblkoy/ArchiveIntermediates/alma/InstallationBuildProductsLocation/Applications/alma.app/alma
codesign_wrapper-0.7.10: using Apple CA for profile evaluation
/Users/leonelgalan/Library/Developer/Xcode/DerivedData/alma-dhzvecjmumvhvggrmlmqpnjblkoy/ArchiveIntermediates/alma/InstallationBuildProductsLocation/Applications/alma.app: valid on disk
/Users/leonelgalan/Library/Developer/Xcode/DerivedData/alma-dhzvecjmumvhvggrmlmqpnjblkoy/ArchiveIntermediates/alma/InstallationBuildProductsLocation/Applications/alma.app: satisfies its Designated Requirement
test-requirement: code failed to satisfy specified code requirement(s)
codesign_wrapper-0.7.10: failed to execute codesign(1)
- (null)
答案 0 :(得分:1)
这似乎是Apple的一个问题。请参阅论坛帖子https://devforums.apple.com/thread/138186?start=0&tstart=0,https://devforums.apple.com/thread/138190?start=0&tstart=0和https://devforums.apple.com/message/603758#603758
参考雷达:// 10697131。
答案 1 :(得分:0)
我修复了这部分:警告:应用程序验证码代码失败。签名无效,或者未使用iPhone分发证书签名。 (-19011)通过格式化我的mac,当钥匙串访问提示我使用企业证书时,只需单击“允许”而不是“始终允许”。我认为它允许/总是允许修复我的问题的部分。这可能是一个错误。
答案 2 :(得分:0)
转到编辑方案, 在左侧窗口中,您将看到存档,按下它 在构建配置中按下发布。 完成了!