问题描述
当我构建要发布的应用程序时,Xcode 给了我这个警告.
Xcode gives me this warning when I build the app for release.
应用程序未通过协同设计验证.签名无效,或未使用 Apple 提交证书签名.(-19011)
我是否需要从我的钥匙串中删除所有条目并重新获取证书、配置文件等?
Do I need to delete all entries from my keychain and redo getting a certificate, provisioning profile, etc?
我可以毫无问题地在 iPhone 和 iPad 上进行构建和调试.
I can build and debug on the iPhone and iPad without a problem.
如果您知道我如何解决这个难题,请提供确切的步骤或方式,以便我就此与您联系.
If you know how I can solve this dilemma, please provide exact steps or a way for me to contact you about this.
谢谢
----更新 -----
----UPDATE -----
构建日志
验证 build/Release-iphoneos/iApp.appcd "/Users/iosdeveloper/Documents/Programming/iPad/iApp HD"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/iosdeveloper/Documents/Programming/iPad/iApp HD/build/Release-iphoneos/iApp.app"
Validate build/Release-iphoneos/iApp.app cd "/Users/iosdeveloper/Documents/Programming/iPad/iApp HD" 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/iosdeveloper/Documents/Programming/iPad/iApp HD/build/Release-iphoneos/iApp.app"
警告:应用程序未通过协同设计验证.签名无效,或未使用 Apple 提交证书签名.(-19011)Executable=/Users/iosdeveloper/Documents/Programming/iPad/iApp HD/build/Release-iphoneos/iApp.app/iAppcodesign_wrapper-0.7.10:使用 Apple CA 进行配置文件评估/Users/iosdeveloper/Documents/Programming/iPad/iApp HD/build/Release-iphoneos/iApp.app:在磁盘上有效/Users/iosdeveloper/Documents/Programming/iPad/iApp HD/build/Release-iphoneos/iApp.app:满足其指定要求测试要求:未能满足代码要求codesign_wrapper-0.7.10: 无法执行 codesign(1)- (空)
warning: Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011) Executable=/Users/iosdeveloper/Documents/Programming/iPad/iApp HD/build/Release-iphoneos/iApp.app/iApp codesign_wrapper-0.7.10: using Apple CA for profile evaluation /Users/iosdeveloper/Documents/Programming/iPad/iApp HD/build/Release-iphoneos/iApp.app: valid on disk /Users/iosdeveloper/Documents/Programming/iPad/iApp HD/build/Release-iphoneos/iApp.app: satisfies its Designated Requirement test-requirement: failed to satisfy code requirement(s) codesign_wrapper-0.7.10: failed to execute codesign(1) - (null)
推荐答案
您可能需要检查在您的发行版构建属性中选择了什么代码签名配置文件.
You probably need to check what code signing profile is selected in your distribution build properties.
这篇关于应用程序未通过协同设计验证.我该怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!