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.
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
i did have this very same issue using xcode_4.2_and_ios_sdk_5_beta__snow_leopard, my working solution.
Install the previous (non-beta) version of Xcode in a different location and work with that version, and that's it, it worked i was able to upload my app to the AppStore without any inconvenience.
regards,
Jorge.
for xcode 4 I tried every thing but I can t solve this error until install xcode 4.2 for snowleopart
if you cant see your app icon in validation page its can be your xcode have error. download from apple developer page xcode 4.2 and install. its solved. you dont need to uninstall your xcode 4 just download new xcode 4.2 and install. I am very fine now
Here is how I solved it:
If you are building for Archive and you don't see any Keychain confirmation dialog, you can stop at that point because submission is not going to work.
Had this error in Xcode, but had no such error when using the Application Loader. Get to it via Xcode -> Open Developer Tool -> Application Loader. Very frustrating indeed.
I tried everything including reinstalling xcode4 with unix tools. NOthing works. I assume I shouldnt have to do this as I'm able to submit other apps without issues. I'm just having this issue with a partiular project (coming from xcode3).
I even created a project from scratch, imported all the code over and tried again - failed. so it's not only my project but something in it. So I've started the process of creating a new project, adding some files, then submitting, then rejecting to figure out what's causing it. This is working so far.
update: ok - it has something to do with using CorePlot and linking it in as a library. and voila - found the answer here. Can't submit app with CorePlot using Xcode4 Solution: when submitting select "Don't resign"
Make sure that you are signing with keys for correct product/bundle ID. If I remember correctly, mixing that up could lead in archiving problems. Also, go to that temp folder and check what IS created. Maybe xCode is creating the IPA under a different name, that could give you a hint.