info[at]theconspiracynyc.com
echodesignlab | bytedissident | wheresyourmachine | projects | theory | tutorials | 
HOME
WORK
CLIENTS
SERVICES
IOO
COMPANY INFO
CONTACT
PRODUCTS
THINK TANK
GUIDELINES
 

iPhone Ad Hoc Tutorial

March 21, 2010 03:30 pm
Posted By: bytedissident

I decided to quickly write this tutorial on doing an ad hoc because it seems like a pain in the ass, but it’s really pretty simple as long as you you follow a few steps. I’m going to assume you know how to generate a distribution provision the iPhone Provisioning Portal and go from there.

Step 1: In XCode option click on your project icon and select “Add” -> “New File”

1

Step 2. Choose Code Signing from the menu and click on the Entitlements template. Click next and name it dist.plist

2

Step 3: Choose your project icon and select Get Info. Then in the configurations tab duplicate the Release options and name it Distribution

4

Step 4: From the menu on the top left choose “Device” for your Active SDK, and “Distribution” for your active configuration.

5

Step 5: From your file menu choose “Project”->”Edit Project Settings”. Select the build tab and find Code Signing Identity. For “Any iPhone OS Device” choose your distribution profile.

7

Step 6: From your file menu choose “Project”-> “Edit Active Target”.  Find the Code Signing Entitlements in the build tab and enter your file “dist.plist”

8

Step 7: Clean All Targets

Step 8 : Command B (Build)

Step 9: Option Click on your product, choose reveal in finder and grab your app.

Step 10: Send the app, and the Provision file to the user for install via iTunes. REMEMBER IT ONLY WORKS FOR PEOPLE WHOSE UDID IS IN THE PROVISION.

Just a heads up, if you have any flags in your build settings in debug for example ObjC , or anything for C++ remember to make sure they are in your build settings for distribution or you will have trouble.

;-)