Posted by: dynamicmethods | May 9, 2009

Deploy xcode project from iPhone Simulator to an actual device

1] First, we need to create something called as a Certificate Request (CSR). This is done through the Keychain Access Utility that is located in  /Applications/Utility on a mac machine.

2] After the CSR file is created on our machine, we have to submit it to the iPhone Program Portal.

3] You then gotta wait for an approval from Apple.

4] After approval you download the CSE from the Program Portal.

5] After you download the certificate you need to add it back again to the keychain. This is the most simple step in this process, just double click and the certificate will be added to the keychain. But,this is important, don’t miss this one, you should download the certificate to that same machine that generated the CSR for the certificate.

6] This is not the end. Even if you have compiled the code you wont be able to put it on the phone. For that you need the “Provisioning Profile”.

7] Create the Provisioning Profile on the Program Portal and download it to your machine, add it to Xcode – the IDE used for COCOA – iPhone     programming and then put it on the phone.

8] After this you’re ready to put the app on iphone and test.

These are the steps to just test your app on your own iPhone

To distribute your app you have to follow the same steps from creating the CSR and profile but instead of a DEVELOPER CERTIFICATE you have to apply for DISTRIBUTORS CERTIFICATE and then instead of the PROVISIONING PROFILE you have to get the DISTRIBUTION PROFILE.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Categories

Follow

Get every new post delivered to your Inbox.