Reputation: 161
I am using xcode 6. I want to validate my project, but I am keeping recieving this error :
The ipa is invalid it does not include a Payload directory
How could I solve this problem ? I search a the internet a lot , but there is no suggestions that help me?
by the way when I opened new project with same identifier and provision the validate succeed !
Upvotes: 3
Views: 5092
Reputation: 2632
Make sure the key “Application requires iPhone environment” Value is YES
in the info.plist using xcode 6.1 or 6.2
Like this http://xcode5.tistory.com/entry/iOS-The-IPA-is-invalid-it-does-not-include-a-Payload-directory
Upvotes: 1
Reputation: 533
Possible solution for some, worked for me...
I struggled with this for a couple hours, tried several different things that I found through researching all the different solutions people have posted online, but nothing worked. I then went into "edit scheme", then into the "info" section under "run" and found that the "Build configuration" option was set to "debug." I thought this to be odd, so I changed it to "release", and validation finally worked!
I had recently submitted an update a couple weeks earlier, and everything worked fine. I had added localizations to this new update, but didn't see anything that may have caused things in the project to go wrong. I noticed that since my last update though (only two weeks ago) some of my project's data had been automatically reverted back to the first version of the app. For example, my version code was set to 1.0, but the last update was 1.3. Also, my build version went back to 1, but should have been 4. I don't know why this happened, but it did, and I'm guessing that this automatic revert perhaps changed my build configuration also, causing the "IPA invalid" "No payload" error. Any ideas?
Upvotes: 0
Reputation: 1426
Make sure that your Application requires iPhone environment
, aka LSRequiresIPhoneOS
, key in your application's info.plist
file is true
. If it isn't, Xcode will build an iOS .ipa
in the OS X applications folder.
Upvotes: 7