Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can not export IPA file from XCode 6.1

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

  1. Private key with Certificate in Keychain -> Login -> My Certificates
  2. Login in with developer account in XCode -> Preferences -> Accounts
  3. Archive the project and select Export -> Save for Ad Hoc Deployment -> Select developer account from the list.
  4. Wait until XCode does some magic. (This is the part where XCode fails everytime. See attached screenshot please)

enter image description here

Here's what i've tried:

  1. Removing all keychain certificates and provisioning profiles. - DIDN'T WORKED
  2. Restart XCode and System (Almost 3 times) - DIDN'T WORKED
  3. Removing certificates and provisioning profiles from Apple developer portal and regenerate all of them. - DIDN'T WORKED
  4. 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...

like image 316
Akshit Zaveri Avatar asked Nov 21 '14 12:11

Akshit Zaveri


1 Answers

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.

like image 74
Akshay Bhalotia Avatar answered Oct 25 '22 11:10

Akshay Bhalotia