Saturday, August 8, 2009

Installing an app prior to release on iTunes

I develop iPhone and iPod Touch apps for other people. At some point in the development process they will want me to send them a copy of the app so that they can put it on their device prior to sending the app to Apple. This is done with what Apple calls Ad Hoc Provisioning. There are a few hoops to be jumped through in order to pull this off.

1. Send your developer your Unique Device Identifier or UDID for short. Your UDID is that nice long number that uniquely identifies your device to Apple, other developers, etc. You could copy it by hand out of iTunes, but the easiest and least error prone way to do this is to run one of the free apps that helps with this. About Device is a pretty good one. Follow the link and install it via iTunes. When you run it, it will gather a bunch of information and put it into an email for you. Send that to your developer.

2. Your developer will then send you a build of the app (zipped up) and a file that ends with .mobileprovision.

3. a) If you are running on a Mac, unzip the app and drag it and the mobileprovision file onto the iTunes icon on your doc.
b) If you are running Windows, then your developer needs to send you an .ipa file. This is basically the same data zipped up in a folder named Payload. You can just drag this .ipa file onto Library → Applications in iTunes. For more details instructions I recommend checking out this website over here.

4. Do a sync and you are done.

When you do an update I recommend uninstalling the app from the device first.

No comments:

Post a Comment