Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make Ad-hoc builds in Xcode 6 without signing in to developer account

Tags:

Before Xcode 6, it was sufficient to provide only a *.p12 certificate and *.mobileprovision file to Xcode in order to export an *.ipa file for Ad Hoc builds.

Xcode 6 opens the Organizer as usual when the archive is ready, but when I press the "Export" button, the Organizer asks to select a Development Team. It does not allow me to proceed without one even though I have *.p12 and *.mobileprovision installed.

To save for Ad Hoc Development, select a Development Team to use for provisioning:

I know that a developer account could be exported from Xcode accounts pane, but there is a problem with that. It exports all certificates and mobileprovision files associated with it. This includes other profiles that I don't want to include (because I want to share the resulting export with a project team and don't want to include non-relevant profiles).

Is there any way to avoid this "helpful" feature and just export the relevant *.p12 and *.mobileprovision?

like image 243
nalexn Avatar asked Sep 15 '14 06:09

nalexn


People also ask

Can I generate IPA file without developer account?

It will have the option "Use Local singing assets" at the bottom. Select this option & Click Choose. Here you go. The build will be created by Xcode without Apple ID Account.

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.


1 Answers

If you are using Testflight to upload adhoc builds, it's easier. Install the Testflight app for Mac and run it. Whenever you do an archive in Xcode, it auto shows a popup whether to upload it. You need not export the build from Xcode and avoid signing in to developer account.

Alternatively, if you don't want to distribute on Testflight, you can right click (or option click) on the build in Xcode > Organizer and select "Show in Finder" and right click the archived file for "Show package contents" and get the .app. Put the .app inside a directory called Payload and zip up the the file to Payload.zip. Rename Payload.zip to myapp.ipa to distribute manually.

like image 107
Sasi Kiran Malladi Avatar answered Oct 21 '22 15:10

Sasi Kiran Malladi