XCode 4,无效签名(-19011) [英] XCode 4, Invalid Signature (-19011)

查看:113
本文介绍了XCode 4,无效签名(-19011)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我疯了。

我正在使用XCode 4,最后我完成了我的应用程序,我即将把它提交到App Store,上传到iTunes Connect。我试图Build for Archive但是这个警告出现了:

I'm using XCode 4 and finally i finished my app,and i was about to submit it to App Store,uploading to iTunes Connect. I tried to to Build for Archive but this warning showed up:

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

我整天用Google搜索,我试图续订所有证书在Provisioning Center中,我甚至尝试使用Application loader上传它,但发生了任何事情。那里也有同样的错误。我试图通过Organizer中的Archive选项卡验证它,但是这个警告不会消失。

I've googled all day long,i've tried to renew all my certificates in Provisioning Center,i've even tried to upload it with Application loader but anything happened. Same error there too. I've tried to validate it through the Archive tab in Organizer but anything, this warning won't go away.

我在这里读了一些答案,即使答案有点旧,任何对我有用的东西,我都试图重新安装XCode,我试图在Build in Targets中选择正确的配置文件..

I've read some answers here, and even if the answers were a bit old, anything worked for me, i've tried to reinstall XCode too,i've tried to select the right profile on Build in Targets..

感谢任何能帮助我的人

编辑:

当我尝试启动一个新项目并选择时Build for Archive然后存档,警告出现但我仍然可以作为ipa共享存档。我试图将旧项目中的所有文件复制到新项目中,构建存档,存档。但当我选择分享为.ipa时显示错误

When i try to start a new project and select "Build for Archive" and then Archive, the warning appears but i can still share the archive as ipa. I tried to copy all the files from my old project into the new one, build for archive, archived. But when i select "Share" as .ipa it shows an error

The operation couldn't be completed. No such files or directory.

这可能是因为我为我的项目添加了2个框架吗?我应该从Target或Project中选择一些东西吗?此外,我想说我的所有配置文件都没问题,证书等。我试图通过启用NOValidate built product来绕过错误-19011。

May this be 'cause i added 2 frameworks to my project to work? Should i select something from Target,or Project? Also,i want to say that all my profiles are ok, certificates etc. I've tried to bypass the error -19011 by turning on NO "Validate built product".

EDIT2:
-19011不再显示,但当我尝试验证或提交时,我收到此错误:

The -19011 doesn't show up anymore, but when i try to validate or submit,i got this error:

The archive is invalid. var/folders/*randomnumbers* app.ipa does not exist.

在这种情况下我该怎么办?我已经阅读了一些答案但没有奏效。

What am i supposed to do in this case? I've already read some of the answers but none worked.

推荐答案

在Apple技术工程师的帮助下,我解决了这个问题:

I solved, thanks to the help of an Apple Technic Engineer, this way:

在目标中,在构建设置 - 产品名称上,我有应用程序的名称,其中包含空格和特殊字符(字符)。在更改了这个并更改了Bundle Name之后,我解决了我遇到的所有问题。

In targets, on Build Settings - Product name, I had the name of the app with spaces and special characters (? character). After changing that and changing the Bundle Name too, I solved all the problems I got with that.

希望有一天能帮到某人。

Hope this will help someone, one day.

这篇关于XCode 4,无效签名(-19011)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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