Khawar Khawar - 1 year ago 341
iOS Question

How to create ipa in xcode 6 without Apple Developer account?

Need to generate

file for Ad-Hoc distribution. Client has provided only certificates, private keys and provisioning profiles which were enough to create
till Xcode 5. But in Xcode 6.1 when I export as
Save For Ad Hoc Deployment
it gives message

To save for Ad Hoc Deployment, you need to add an Apple ID account that is enrolled in the iOS Developer Program for the development team 'xxxxxxxxxx'

enter image description here
enter image description here

Is there any way of creating
without developer account credentials?

Answer Source

Finally found a way for creating .ipa build with xcodebuild command.

  1. Right click on Archive on Organizer.
  2. Click Show in Finder.
  3. You can see .xcarchive file in Finder. enter image description here

  4. Open Terminal and cd to .xcarchive path.

  5. Using following command to generate .ipa file.

This will save .ipa on Desktop.

xcodebuild -exportArchive -exportFormat ipa -archivePath <FILE_NAME>.xcarchive -exportPath ~/Desktop/<FILE_NAME>.ipa

Still looking for better solution, don't know why Apple removed this feature from Xcode 6 :(

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download