A guide for testing your iOS applications on your iPhone, iPad or iPod Touch.
NOTE: If this is your first time building an app you’ll need to create your certificates before continuing.
1 ) Sign in to the iOS Provisioning Portal and select “Devices” from the left side bar, then click the “Add Devices” button in the upper right.
2 ) If you don’t know your Device ID yet, connect your iPhone, iPod Touch or iPad to your Mac via USB then click on the in menu bar and choose “About this Mac“, then select “More Info…” (NOTE: If you are running Lion or above you’ll now need to click “System Report“.)
3 ) Find “USB” in the left side bar, then locate your device in the list to the right and copy the serial number carefully.
4 ) In the iOS Provisioning Profile you can now add your device by pasting the number from step 2 into the “Device ID” box. Give your device a name and then click “Submit“.
5 ) Click “App IDs” in the left side bar, then choose “New App ID” in the upper right.
6 ) For the description enter your app’s name, for the bundle seed ID leave it as the default “Use Team ID” and for the bundle identifier enter com.yourname.appname and choose “submit”.
7 ) Click “Provisioning” in the left side bar, then click the “Distribution” tab and choose “New Profile”
8 ) Fill in your information as follows;
Distribution Method: Ad Hoc
Profile Name: App Name
App ID: *select App ID we just created*
Devices: *tick device we just added*
Then click “Submit“.
9 ) You’ll be taken back to the Distribution tab and your profile will show as “pending”. Wait a moment and then refresh your browser and a download button will appear. Click it now.
10 ) Once your provisioning profile has downloaded double click on it and Xcode will open. It has now been added to Xcode.
11 ) Open your SDK of choice (Titanium, Moai, Gideros, etc.) and build your app using your newly created provisioning profile.
*NOTE: If your SDK was open when you added your new provisioning profile to Xcode you will likely need to quit and relaunch it before completing step 11.
12 ) Connect your device to your Mac via USB again, then Open Xcode and press CMD+Shift+2 to switch to the Organizer window. (You can of course also do this using the top bar menu but it’s worth learning the shortcut keys, you will be using them often.)
13 ) Select your device on the left and then choose “Use For Development“. (You will have to enter your Apple developer login details and then wait a minute* while Xcode sets everything up, then proceed.)
*I have been told this can take around 15 minutes for some people, so be patient.
14 ) Once the little circle/light by your device turns green you can find the app you just built and drag it to your device in the left side bar of the Xcode window. Allow a moment to sync.
15 ) Your app is now on your device!