gpt4 book ai didi

iphone - 应用程序未通过协同设计验证。我该怎么办?

转载 作者:行者123 更新时间:2023-12-03 20:17:44 25 4
gpt4 key购买 nike

当我构建要发布的应用程序时,Xcode 会向我发出此警告。

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

我是否需要删除钥匙串(keychain)中的所有条目并重新获取证书、配置文件等?

我可以毫无问题地在 iPhone 和 iPad 上构建和调试。

如果您知道我如何解决这个困境,请提供具体的步骤或方式以便我联系您。

谢谢

----更新-----

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)

最佳答案

这是我遇到此问题时要查看的 list :

  1. 清理所有目标,退出 Xcode,然后将构建文件夹从项目拖到垃圾箱。

  2. 对您的项目执行“获取信息”,确保正确选择“代码签名权利”和“代码签名身份”。对您的目标执行相同的操作。

  3. 登录 iOS 配置门户并确保分发证书尚未过期。另请检查分发配置文件并确保其处于事件状态。确保证书正确地位于您的钥匙串(keychain)中,并且分发配置文件位于 Xcode Organizer 中(如果您有多个相同的证书,请删除除正确证书之外的所有证书,然后重做第 2 步)。

  4. 查看失败时的构建结果,确定它实际使用的配置文件,并确保它是正确的。

关于iphone - 应用程序未通过协同设计验证。我该怎么办?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3892148/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com