向iTunes提交应用程序时出错连接:“无效签名 - 代码对象根本没有签名”

时间:2023-01-12 17:37:08

Well, all was good with submitting to itunes connect, but out of the blue, I just got this email right after uploading my app:

好吧,提交到itunes connect一切都很好,但突然之间,我刚刚上传我的应用后收到了这封电子邮件:

Invalid Signature - Code object is not signed at all. The binary at path [churningseas.app/churningseas.codea] contains an invalid signature. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target.

签名无效 - 代码对象根本没有签名。路径[churningseas.app/churningseas.codea]中的二进制文件包含无效签名。确保您已使用分发证书(而非临时证书或开发证书)对您的应用程序进行了签名。验证Xcode中的代码签名设置在目标级别是否正确(覆盖项目级别的任何值)。此外,请确保您上传的软件包是使用Xcode中的Release目标而不是Simulator目标构建的。如果您确定您的代码签名设置正确,请在Xcode中选择“全部清除”,删除Finder中的“构建”目录,然后重建您的发布目标。

I've seen that this a commun, infamous error message, and that there is no clear answer to how to fix this.

我已经看到这是一个共同的,臭名昭着的错误消息,并且没有明确的答案如何解决这个问题。

Has anyone an idea on what could be wrong with my settings? Thanks you so much in advance, I'm suppose to release the app this month and I'm freaking out a little bit here...

有谁知道我的设置可能出错?非常感谢你提前,我想本月发布应用程序,我在这里吓到了一点......

1 个解决方案

#1


The email is asking you to check the churningseas.codea file. I had a similar issue except they were referencing a docset file in my project. After hours of debugging this issue, it has come to my attention that Apple is now frowning upon docset files. After removing the docset file it fixed my issue. You may want to check the churningseas.codea file and see if removing it doesn't fix your issue.

该电子邮件要求您检查churningseas.codea文件。我有一个类似的问题,除了他们在我的项目中引用docset文件。经过几个小时的调试这个问题,我已经注意到Apple现在对文档集文件皱眉了。删除docset文件后,它解决了我的问题。您可能需要检查churningseas.codea文件,看看删除它是否无法解决您的问题。

If that doesn't work check this answer Error itms-90035. There could be many causes for this error.

如果这不起作用,请检查此答案错误itms-90035。导致此错误的原因可能有很多。

#1


The email is asking you to check the churningseas.codea file. I had a similar issue except they were referencing a docset file in my project. After hours of debugging this issue, it has come to my attention that Apple is now frowning upon docset files. After removing the docset file it fixed my issue. You may want to check the churningseas.codea file and see if removing it doesn't fix your issue.

该电子邮件要求您检查churningseas.codea文件。我有一个类似的问题,除了他们在我的项目中引用docset文件。经过几个小时的调试这个问题,我已经注意到Apple现在对文档集文件皱眉了。删除docset文件后,它解决了我的问题。您可能需要检查churningseas.codea文件,看看删除它是否无法解决您的问题。

If that doesn't work check this answer Error itms-90035. There could be many causes for this error.

如果这不起作用,请检查此答案错误itms-90035。导致此错误的原因可能有很多。