Tuesday, June 12, 2012

iOS application beta testing using adhoc distribution

You can beta test your iOS application by distributing it via .ipa files. For this the tester will need to have the following..

- a mac with itunes installed
- an iOS device

Send the application .ipa file along with the mobile provisioning profile ( .mobileprovision) to the tester. Now he/she can test your app by following the steps below..

Step 1:
Install the mobile provisioning profile (double click the file)

Step 2:
Drag the .ipa file into itunes. Now the application should display under Library -> Apps menu (menu on left).

Step 3:
Select the device from the Devices section on the left menu and then select the Apps tab (should be displayed on top). Now the application will be visible in the open panel (see pic below).

Step 4:
Select the application and the Sync Apps option. Now sync the app to the device by clicking on the Apply button.

Step 5:
Test the installed application!:)

But how can you extract the .ipa file for beta testing?

Make sure your distribution profile and certificate are installed on your mac. If not, download the distribution profile from  and install it by double clicking. Download the distribution certificate and install it in the login section of the keychain.

In Xcode (I am using Xcode 4.0) open your application project and Build and Run on the device first. Next select Build -> Archive. In Window -> Organizer under archived applications select the latest archive and then click on Share Application button. Select the proper code signing identity (ie. distribution certificate). This will generate the correct ipa file:)

References :


1 comment: