Pages

Subscribe:

Labels

Feb 17, 2011

iPhone Application Ad Hoc Distribution Step 1

NOTE- this tutorial is based on iphone dev SDK 4.2

Ad Hoc Distribution allows you to try an application before it’s available in the iTunes App Store.

This is how we distribute iPhone applications to selected peoples  as a beta release

The Apple method requires pre-registration of beta testers. In order to register them you need to know their devices unique device identifier (UDID) and then create a mobile provisioning file - a security certificate that authorizes that unique device to run the App being tested.
You are limited to 100 devices per App using this method meaning you can only have 100 beta testers.
Here are the steps to follow-
Step 1: Open up your ad hoc provisioning profile in Text Edit and verify that it contains a “<key>get-task-allow</key>”. If it does not, generate a new provisioning profile using the Program Portal.

Step 2

Feb 16, 2011

Ad Hoc Distribution Step 2

Step 2: open your project in Xcode, select File > New File. In the dialog source list, under iPhone, select “Code Signing”. Select “Entitlements” then click the Next button.


Step 1 Step 3

Feb 15, 2011

Ad Hoc Distribution Step 3

Step 3: Keep the name of this file as it is. Click finish button


Step 2
















Step 4

Feb 14, 2011

Ad Hoc Distribution Step 4

Step 4: Open Entitlements.plist in xcode and Check whether 'get-task-allow' key exists or not. if not, right click on Root, then add Row.


Step 3 Step 6

Feb 13, 2011

Ad Hoc Distribution Step 5

Step 5: write 'get-task-allow', and click on 'Type' .

Step 4 Step 6

Feb 12, 2011

Ad Hoc Distribution Step 6

Step 6: Select type boolean and make sure the checkbox is unchecked.

Step 5 Step 7

Feb 11, 2011

Ad Hoc Distribution Step 7

Step 7: Now right click on top right project name and select 'Get Info' . or select project name and click on 'i'

Step 6 Step 8

Feb 10, 2011

Ad Hoc Distribution Step 8

Step 8: Select Build segment and set configuration as 'Release'


Step 7 Step 9

Feb 9, 2011

Ad Hoc Distribution Step 9

Step 9: under code signing> code signing identity, select your provisional profile. If you don’t see the name listed, make sure that the .mobileprovision file is located in ~/Library/MobileDevice/Provisioning Profiles and that the “Code Signing Identity” is set to “iPhone Distribution”.


Step 8 Step 10

Feb 8, 2011

Ad Hoc Distribution Step 10

Step 10: at the same place, double click on 'Code Signing Entitlements'. Delete if there are already some path defined, and write your entitlement file name. i.e. Entitlements.plist


Step 9 Step 10

Feb 7, 2011

Ad Hoc Distribution Step 11

Step 11: Confirm same steps for Target also-






Step 10 Step 12

Feb 6, 2011

Ad Hoc Distribution Step 12

Step 12: Now again right click on root of your application and select 'reveal in finder'. Doing this will open the folder where your this project is lying.

Step 11 Step 13

Feb 5, 2011

Ad Hoc Distribution Step 13

Step 13: come back to your xcode and set application status as Device and Release-


Step 15 Step 14

Feb 4, 2011

Ad Hoc Distribution Step 14

Step 14: Now press Command+Q or Quit the XCode.


Step 13 Step 15

Feb 3, 2011

Ad Hoc Distribution Step 15

Step 15: Go to project base directory and remove all builds.-


Step 14 Step 16

Feb 2, 2011

Ad Hoc Distribution Step 16

Step 16: Open your project again and Select Build> Build and Archive





Step 15 Step 17 

Feb 1, 2011

Ad Hoc Distribution Step 17

Step 17: After build completed, the organizer should open itself. if not then open it.



Step 16 Step 18