Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Archive in xcode 6 is producing a pkg, not ipa

Tags:

ios

xcode6

ipa

Recently updated to Xcode 6 and now whenever I archive a project, I get a .pkg instead of an .ipa. I've set the other target in my project (cocoapods) to skip install but that didn't do the trick. The deployment target is iOS, not mac (it's an iphone/ipad app that previously archived .ipas fine).

Am I missing a new setting somewhere (i.e. default archive iOS apps to .ipa) or is there a gotcha with ad hoc distribution on Xcode 6 I'm not aware of?

like image 929
maxhs Avatar asked Sep 10 '14 16:09

maxhs


People also ask

How do I get ipa from Xcarchive?

Now you have to do below steps: Go to Window->Organiser->Archives Here, select your archive fine and click on "Distribute App" button on right side Then Instead of upload, select Export option, and continue selecting default options, it will end you up with generating ipa file.

How do I archive an Xcode project?

Archive your App In Xcode with your project open, select the simulator (button near the top of the window next to your project name, typically named as a specific type of iPhone) – change it to Generic iOS Device. Open the Product menu and choose Archive. You will see the archive information. Click Validate App.


1 Answers

Add LSRequiresIPhoneOS YES to your Info.plist
The key can be found as Application requires iPhone environment

like image 85
AntiHaus Avatar answered Sep 22 '22 02:09

AntiHaus