How to: iPhone SDK Development on more than one computer
filed in iPhone App, iPhone Development on Oct.08, 2010
I usually go back and forth between my trusty macbook and my desktop. So I needed the ability to be able to work on an iPhone project on every mac I use on a daily basis. The problem is that in order to be able to push your app to a development device you need to get all your keys, certificates and provisioning profiles on each computer you want to develop on, which turns out to be not as straightforward as I had thought.
So I am going to share a great tutorial I found that contains step by step directions on how to go about exporting your certificate, keys and provisioning profiles from you primary development machine.
Here is a direct link to the tutorial, and here are the steps you need to take:
1. Launch Keychain Access on the iMac (main development computer).
2. Under the Keys category I Ctrl-click the private key that has the certificate for ‘iPhone Developer: ’ attached to it.
3. In the context menu select ‘Export …’.
4. When saving provide a password, which will be required for importing on the other computer.
5. A .p12 file was saved, transfer it to the target computer.
6. Grab the development provisioning profile (either by downloading from the iPhone Program Portal or by grabbing the right one from ~/Library/MobileDevice/Provisioning Profiles/) and transfer it to the target computer.
7. Double click the .p12 file on the target computer. If you provide the correct password the key and certificate will be installed into the Keychain on the target computer.
8. Drag the provisioning profile onto the Xcode dock icon.

Leave a Reply