How to solve ipa is an invalid problem? IOS

I am using xcode 6. I want to test my project, but I keep this error:

Invalid ipa, it does not contain the payload directory

enter image description here

How can I solve this problem? I search a lot on the internet but no suggestions to help me?

by the way when I opened a new project with the same ID and ensured the checkout succeeds!

+3


source to share


3 answers


Make sure your Application requires iPhone environment

, aka LSRequiresIPhoneOS

, key in your application info.plist

is true

. If it doesn't, Xcode will build iOS .ipa

in the OS X Apps folder.



+7


source


Make sure the key "Application requires iPhone environment" is "YES"

in info.plist using xcode 6.1 or 6.2



Similar to http://xcode5.tistory.com/entry/iOS-The-IPA-is-invalid-it-does-not-include-a-Payload-directory

+1


source


Possible solution for some, worked for me ...

I wrestled with this for hours, tried a few different things that I found while researching all the different solutions that people have posted online, but nothing worked. Then I went into the "edit schema", then into the "info" section in the "run" section and found that the "Build configuration" parameter was set to "debug". I thought it was weird, so I changed it to "release" and finally the validation worked!

I recently submitted an update a couple of weeks ago and everything worked well. I added localization to this new update, but did not see anything that could lead to problems in the project. I noticed that since the last update (just two weeks ago) some of my project data has been automatically reverted 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 does, and I'm guessing this auto-fallback might change my build config, also causing an "IPA invalidation Error" No payload. "Any ideas?

0


source







All Articles