Question

In Xcode 4.2 I used the Share option to create an .ipa file and send it via e-mail to my friend for testing. In Xcode 4.3 this option is gone. there is now the 'Save for enterprise or ad hoc distribution' option instead. When I choose this option and do the code signing, I get an ipa file but this app does NOT work. It is possible to install it using itunes but it only shows the default screen and then crashes.

What's different now in xcode 4.3?

I am using the same provisioning profile as before(a developers profile). After a few attepmts, I tried to change the app signing profile/certificate to the distribution profile but nothing worked. When I searched StackOF for similar questions, I saw that people put their plist somewhere with the ipa file. I didn't do that before and it was working. The only change from my point of view is the scode version(I was using xcode 4.2) and the fact that there is no 'Share' option anymore.

Please help!

Was it helpful?

Solution

This question may be the repetition of stackoverflow question

See the Answer in that question.

Here also I paste the answer again,

In Xcode 4.3.1 there is no "share" option in Archives tab of Organizer to create IPA.

Hence to create IPA just click the available "Distribute" option and select Method - "Save for Enterprise or Ad-Hoc Deployment" then we have an option to save the build in IPA format.

thanks, Naveen Shan

OTHER TIPS

This question is already answered, but I ran into the same problem today: I was unable to get ad-hoc apps to install over the air in XCode 4.3, when it worked perfectly fine in 4.2.

What ended up working for me was to not check the "Save for Enterprise Distribution" box and instead save the .ipa file straight to disk. That file installed fine on my device via iTunes and by making my own .plist file (duplicating the xml schema from a previous build), I was able to get over-the-air working again.

I noted when doing the "Save for Enterprise Distribution" process that the .ipa file got generated with an incorrect url (it was linking back to itself). But even when fixing that mistake, the app would still not install (it would download, but not install). I can only imagine that the problem is in the .ipa.

Hopefully this will save someone else some time and aggravation.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top