iOS App Development

How to Test Your iPhone App on an iOS Device

Please note to deploy your app you must be a registered apple developer ($99/year).

Get started by going to the member centre – iOS Provisioning Profile:
https://developer.apple.com/membercenter/index.action


Step 1 – Certificates

The first step is to setup a certificate so apple can associate you with your information.

Open the certificates on the side panel and go to development. Create a new certificate and then apple will show you a how-to to create the certificate.

Once you have followed the step-by-step guide you should have your certificate.


Step 2 – Devices

Select the devices from the side panel. In here you can create any devices you want to test the app on.

Press add devices on the top right. The device name can be whatever you want.

Open Xcode -> Organiser. If you look at your device you should see a long ID code. Add this as device ID.


Step 3 – App ID’s

App ID’s are used to communicate with various features such as passwords.

I have found that using one app id for testing your app is useful. Just remember you can’t delete App ID’s.

Press add id at the top right.

The description is a useful name you can call it. The bundle ID can stay as the Team ID. The bundler identifier is used to identify the app in xcode.


Step 4 – Provisioning Profiles

Provisioning profiles are used to tie assets to the developers and devices.

You can also create a developer profile for testing. Select new profile in top right. The profile name can be anything you want. Select all the items you just created in each part.

Select submit and then wait a few mins. You should then be able to download the profile.

Place the downloaded profile on your HDD in User -> Library -> Mobile Device -> Provisioning Profiles. If you don’t have any of these folders create them.


Step 5 – Xcode

Open Xcode -> Organizer -> Devices. In the provisioning profiles section you can add the downloaded profile.

Open your Xcode project and go to the app settings on the left side. Go to the identifier and change it to your profile.

You can get this from going onto the provisioning profiles on member centre and then selecting the profile. You should get some details about it.

Now press run and plug in your device and it should build successfully if your code works.

Tags

About the author

Chris

I've been a passionate evangelist for Apple and the Macintosh throughout my working life, my first love was a Quadra 605 working with a small creative agency in the south of Norfolk UK in the mid 1990's, I later progressed to other roles in other Macintosh dominated industries, first as a Senior graphic designer at a small printing company and then a production manager at Guardian Media Group. As the publishing and printing sector wained I moved into Internet Marketing and in 2006 co-founded blurtit.com which grew to become one the top 200 visited sites in the US (according to Quantcast), at its peak receiving over 15 million visits per month. For the last ten years I have worked as an Affiliate and Consultant to many different business and start ups, my key skill set being online marketing, on page monetisation, landing page optimisation and traffic generation, if you would like to hire me or discuss your current project please reach out to me here.

You can also follow me on: and

Add Comment

Click here to post a comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.