应用程序失败的代码签名验证。我该怎么办?

编程入门 行业动态 更新时间:2024-10-28 04:19:53
本文介绍了应用程序失败的代码签名验证。我该怎么办?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

当我构建应用程序以供发布时,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.

更多推荐

应用程序失败的代码签名验证。我该怎么办?

本文发布于:2023-11-06 09:35:08,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1563324.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:我该   应用程序   代码

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!