应用程序失败的代码签名验证。我该怎么办? [英] Application failed codesign verification. What do I do?

查看:356
本文介绍了应用程序失败的代码签名验证。我该怎么办?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我构建应用程序以供发布时,XCode会向我发出此警告。


应用程序失败的代码签名验证。签名无效,或者未使用Apple提交证书签名。 (-19011)


我需要删除我的钥匙串中的所有条目,并重做获得证书, p>

我可以在iPhone和iPad上构建和调试,没有问题。



如果你知道我可以如何解决这个问题



感谢



-

--UPDATE -----


建立日志



验证build / Release-iphoneos / iApp.app
cd/ Users / iosdeveloper / Documents / Programming / iPad / iApp HD
setenv PATH/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/开发人员/ usr / bin:/ usr / bin:/ bin:/ usr / sbin:/ sbin
setenv PRODUCT_TYPE com.apple.product-type.application
/Developer/Platforms/iPhoneOS.platform/开发人员/ 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 / iApp
codesign_wrapper-0.7.10:using Apple CA for profile评估
/用户/ iosdeveloper /文档/编程/ iPad / iApp HD / build / Release-iphoneos / iApp.app:有效的磁盘
/用户/ iosdeveloper / build / Release-iphoneos / iApp.app:满足其指定的要求
test-require:无法满足代码要求
codesign_wrapper-0.7.10:无法执行codesign(1)
- (null)



解决方案

您可能需要检查什么代码签名配置文件您的分发版本属性。


XCode gives me this warning when I build the app for release.

Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011)

Do I need to delete all entries from my keychain and redo getting a certificate, provisioning profile, etc?

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.

Thanks

----UPDATE -----

Build Log

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"

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.

这篇关于应用程序失败的代码签名验证。我该怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆