Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Need to generate .ipa file for Ad-Hoc distribution. Client has provided only certificates, private keys and provisioning profiles which were enough to create .ipa 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 hereenter image description here

Is there any way of creating .ipa without developer account credentials?

like image 308
Khawar Avatar asked Nov 14 '14 11:11

Khawar


People also ask

Can I build IPA file without developer account?

1 Answer. Show activity on this post. You can't create an ipa file without an Apple Developer Account. You can create a free developer account and sign the app with a development certificate.

Can you make iOS app without developer account?

If you don't join the Apple Developer Program, you can still build and run your app on your devices using free provisioning. However, the capabilities available to your app, described in Adding Capabilities, are restricted when you don't belong to the Apple Developer Program.

Can you make a IPA in Xcode?

Creating an XCUITest Package​ipa Testing with XCUITest. Open your app project in Xcode. Select Generic iOS Device or Any iOS Device (arm64) as your project's device target. Make sure that the your UI tests are part of a Target Membership and that those Targets are selected to be built in your Xcode Build scheme.

Do you need Apple developer for Xcode?

Xcode Versions <7.0 doesn't allow us to test ios apps on devices without a developer account.


1 Answers

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 :(

like image 191
Khawar Avatar answered Sep 25 '22 06:09

Khawar