iOS 协同设计错误

发布于 2024-10-07 06:36:49 字数 206 浏览 0 评论 0原文

当我构建 iPhone 应用程序时,我不断收到以下警告:

应用程序未能通过协同设计验证。签名无效,或者不是用Apple提交证书签名的。 (-19011)

但我的应用程序仍然运行。为什么会出现这种情况?有人可以帮忙吗?我更新了我的应用程序并且 App Store 批准了它,但现在每次有人运行它(安装更新后)它都会崩溃,我不知道为什么。现在,我什至无法让这个警告消失。

I continuously get the following warning when I build my iPhone application:

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

But my application still runs. Why is this occurring? Can someone help? I updated my application and the App Store approved it, but now it crashes everytime anyone runs it (after installing the update) and I have no idea why. And now, I can't even get this warning to go away.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

北方的韩爷 2024-10-14 06:36:49

这是我的待办事项列表遇到这个。

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

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

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

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

Here's my todo list when I've run across this.

1) Clean all targets, exit Xcode, then go drag the build folder from your project to the trash.

2) Do the Get Info on your project, make sure the Code Signing Entitlements and Code Signing Identity are selected correctly. Do the same for your Targets.

3) Login to the iOS Provisioning Portal and make sure the Distribution certificate has not expired. Also check the Distribution Provisioning Profile and make sure it is Active. Make sure the Certificate is properly in your Keychain and the Distribution profile is in Xcode Organizer (if you have multiple of the same one, delete all but the correct one and redo step #2).

4) Look at your Build Results on the failure and identify which profile it is actually using and make sure it is the right one.

热风软妹 2024-10-14 06:36:49

这似乎是 Xcode 中的一个错误,我在某处读到有人在升级后报告该警告。我有同样的问题,我可以编译并运行应用程序,我已经将应用程序发布到AppStore,但我就是无法摆脱那个烦人的警告。

It seems that this is a bug in Xcode, I have read somewhere people reporting that warning after upgrading it. I have the same problem, I can compile and run the App, I have already released the App to the AppStore, but I just can't get rid of that annoying warning.

泪意 2024-10-14 06:36:49

我想你可以尝试重置钥匙串,在我遇到显示我的证书已过期或无效并且无法使用手机运行的问题之前,然后我重置钥匙串,然后效果很好。

I think you can have a try to reset Keychain, before I encounter a problem that show my certificate was expired or invalid and I can not run with mobile, then I reset Keychain, then it worked well.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文