Xcode can't build ipa file for iOS app. Instead builds .pkg
Question
I want to export my iOS app as an ipa file for Testflight. For some reason only on this project there is no option to build an .ipa file. Instead I can only export it as a Mac OS X application. It runs fine on the simulator and on the real device. I already tried recreating the Ad-Hoc Provisioning profile, but it didn't change anything.
Would be great if someone knows how to fix that.
Thanks in advance!
Solution 2
I finally found a solution for this problem: I used the "Validate Settings"-button underneath the build settings. The only property Xcode changed for me was the deployment target from iOS 4 to iOS 5.
OTHER TIPS
I use TestFlight a lot and I do this:
Take the .app and put it in a folder called "Payload", compress that folder to a .zip file, then change the extension of the file from .zip to .ipa (you will have Payload.ipa), and your file is ready for TestFlight.
This is the way I do it and it works.