Distributing apps Ad Hoc via mail is really easy, if you are only testing with a small team. Send out the email, drag and drop in iTunes and your done. No big deal. Testing with over 30 devices is another matter entirely. (Yes you need the provisioning profile, just drag and drop! No, No, in iTunes! etc etc). Fortunately the latest XCode makes distributing via a web server, directly to the iPhone/iPad without messing about with iTunes.
First, you have to do all of the normal ad hoc distribution steps, namely:
- Register the UIDs of the testing devices,
- Create an ad hoc distribution profile,
- Set the the proper code signing identity for your target build
Next, select “Build and Archive” from the XCode Build menu. In the Organizer, select the archived application build and click on the "Share Application" button. In the popup dialog, select "Distribute for Enterprise". In the next popup in the URL enter in the full url to your application's ipa file: http://www.veltema.jp/testing/MyApp.ipa
Once the build process is complete you will have 2 files to upload to your server:
- MyApp.ipa
- MyApp.plist
It is also very convienent to keep a copy of the latest provisioning file on the server so that new testers can easily get everything they need directly from the webpage.
Finally create a web page to allow the download of your app:
<ol> |
|
<li> |
|
<a href="/testing/MyApp_Ad_Hoc_Distribution_Profile.mobileprovision"> |
|
Install MyApp Provisioning File</a></li> |
|
<br/></br> |
|
<li><a href="itms-services://?action=download-manifest&url=http://www.veltema.jp/testing/MyApp.plist">Install MyApp</a></li> |
|
</ol> |
|
|
|
If everyone bookmarks the link on their devices, they can always download and install the latest version(s) for testing,