I've wasted a day trying to export IPA file using development profiles. I'm a developer since 18 months now. And its not something that i don't know about exporting IPA. And i really hate Apple developers for changing the way we used to export a simple IPA. I've already exported hundreds of times but this time i'm having no luck.
I think what is needed to export a successful IPA requires these things to be available in the system
- Private key with Certificate in Keychain -> Login -> My Certificates
- Login in with developer account in XCode -> Preferences -> Accounts
- Archive the project and select Export -> Save for Ad Hoc Deployment -> Select developer account from the list.
- Wait until XCode does some magic. (This is the part where XCode fails everytime. See attached screenshot please)
Here's what i've tried:
- Removing all keychain certificates and provisioning profiles. - DIDN'T WORKED
- Restart XCode and System (Almost 3 times) - DIDN'T WORKED
- Removing certificates and provisioning profiles from Apple developer portal and regenerate all of them. - DIDN'T WORKED
- Tried AirSign / Testflight. - DIDN'T WORKED
HINT: I am using XCode 6.1.1 GM SEED and previously had installed along with XCode 6.2 beta. But i removed XCode 6.2 Beta later
Someone please tell me where i'm going wrong.. Thanks...
Starting from XCode 6, you have to generate an AdHoc type cerificate from the Apple Developer Center to be able to save the .ipa for AdHoc deployment. I was also facing the same issue and generated a new certificate particularly for AdHoc Distribution. Archiving using that resolved the issue.