Xcode iOS organizer submit to app store yields “Th

2019-02-08 03:37发布

I just switched from Xcode 3 to 4. When I attempt to upload an app that I have archived to the organizer, I receive this error:

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

archive is invalid. app.ipa does not exist.

This happens after I log in to itunes connect, select the application to update and select next. I am not sure where to begin trying to figure out what is causing this error. Please let me know if I am leaving out anything that would be useful for diagnosing. Thanks

21条回答
做个烂人
2楼-- · 2019-02-08 04:17

I solved this same problem by deleting all of the expired signing certificates from my Keychain. Xcode seems to just grab the first one it finds with the given name, regardless of whether it's still valid.

查看更多
Ridiculous、
3楼-- · 2019-02-08 04:19

Have you been playing around with the ENTITLEMENTS_REQUIRED attribute at /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/SDKSettings.plist (let say to create jailbroken applications)?

In this case, please reset ENTITLEMENTS_REQUIRED to YES.

查看更多
The star\"
4楼-- · 2019-02-08 04:20

In my case this has nothing to do with Xcode or the unix tools. Indeed I happend to had too many distribution certificates (Why? I don't know). Deleted all of them but one, code sign with this one, re code sign it while validating and submit it with no errors. I hop this help.

查看更多
在下西门庆
5楼-- · 2019-02-08 04:21

Never try to submit using apps you built using beta SDKs as your base SDK.

I got rid of this problem by uninstalling all developer tools with the below command

sudo /Developer/Library/uninstall-devtools --mode=all

and then restarted my system and installed that latest non-beta version of XCode and non-beta iOS SDK.

查看更多
乱世女痞
6楼-- · 2019-02-08 04:21

The same happened to me. My mistake was I had certificates with similar names (like "Provisioning Profile of Giammy", "Profile for Provisioning of Giammy"...).

Running "Archive" from XCode 4.0 and then "Validate..." from the Organizer I faced the "app.ipa does not exist" issue. The problem was that I selected the wrong certificate from those with similar names. The "Archive" phase worked good but the archive did not pass the validation.

Solution: just picked up the correct provisioning profile in the "Archive" phase.

Lesson learned: check twice the provisioning profile name!

查看更多
Ridiculous、
7楼-- · 2019-02-08 04:22

If you are running an Xcode beta version (Apple calls it a "developer preview") you will get this error because you're not allowed to submit apps from a beta version. This restriction is not mentioned in the Read Me file or on the Xcode download page. To submit an app, you will need to uninstall Developer Tools, then reinstall the latest non-beta version, then restart your computer.

Here's the command-line command to uninstall:

sudo /Developer/Library/uninstall-devtools --mode=all
查看更多
登录 后发表回答