“The archive is invalid” during archive validation in xcode

回眸只為那壹抹淺笑 提交于 2020-01-01 12:24:13

问题


I try to upload an update for my app. However I always get this error message:

I use xcode 4.2 and the iOS 5.0 SDK. I read that question Xcode iOS organizer submit to app store yields "The archive is invalid" error but nothing helped.

I tried following

  • uninstall xcode using command line and reinstall it
  • delete all distribution proviles and create new
  • opened the project file in text editor removed all provisioning lines and code sign lines, clean and build

I keep getting this error message. Any ideas?


回答1:


I tried removing CODE_SIGN_IDENTITY from the project file using a text editor with no luck. http://elishaz.tistory.com/entry/The-archive-is-invalid-appipa-does-not-exist

However, try using

Don't resign

instead of choosing your distribution profile when submitting in the Organizer.

It worked for me.

Matt




回答2:


I was using Xcode 4.2 beta which cannot submit valid applications to the appstore, since it is beta. I rolled back to xcode 4 and was able to upload my build.



来源:https://stackoverflow.com/questions/6306018/the-archive-is-invalid-during-archive-validation-in-xcode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!