Thursday, August 26, 2010

Installing iPhone/iPad application ad-hoc

At my current job, I had to remotely install some beta versions of the iPad app for some clients, before the app was actually released on iTunes. There are several steps that one has to take in order to achieve that (assuming you have followed some of them that describe creating Certificates, App IDs, etc):
  1. In your iPhone Developer account, go to the iPhone Provisioning Portal, the to Devices, and add the iPad device to the Current Registered Devices section. You have to know the Device UDID (40 characters that can be copied form iTunes when you have the iPad plugged into your computer).
  2. Add the newly created device to the Distribution Provisioning Profile. 
  3. On you station, drag-and-drop the distributed provisioning profile into XCode. 
  4. Under XCode, change both your app's and your target's build properties to use the new distribution provisioning profile. 
  5. Delete the old Entitlements.plist file and create a new one.
  6. Change your settings so that XCode uses Device as the Active SDK, and Distribution as the Active Configuration. 
  7. Build your app, then zip the executable. 
  8. Export your private key and the developer identity certificate and import them into your client's Keychain (you might also need to export-import the AppleWWDRCA.cer file to your client). Finally, add the iPhone distribution certificate to the Keychain. 
  9. Download the new distributed provisioning profile and drag-and-drop it into your customer's iTunes app (either drop it on the iTunes icon, or in the App section). 
  10. Un-zip your application and drag-and-drop it into the app section of your customer iTunes (if the Apps section is not visible, go into iTunes -> Preferences and click on the checkbox marked as Apps). 
  11. Synchronize iTunes with the iPad to transfer the app from iTunes to your client's iPad. 
Hope it's going to help some of you. Enjoy!

10 comments:

Karyl Gomoll said...

Hi Mihai,

Our Managing Editor, Lyndsey Clevesy, recently enjoyed reading a post on your blog and wants to invite you to join DZone's Most Valuable Blogger program. 

The MVB program allows DZone's editors to occasionally feature entries from your blog on our site under your DZone user profile. It has provided a great way for many of our participants to drive extra traffic and visibility to their blogs.

Please contact karyl@dzone.com for more information about joining the program!

Best,
Karyl Gomoll

Anonymous said...

Queries will always be there. will push your future easily for a generation next experience.

ipad application development

Anonymous said...

Hi Mihai,
Just answered a question for you on StackOverflow and browsed to your blog.
When i saw this post i thought about the following:
http://testflightapp.com/

Maybe you can use it, maybe you don't.

Best,
Mats Stijlaart

iPhone Application said...

The MVB program allows DZone's editors to occasionally feature entries from your blog on our site under your DZone user profile. It has provided a great way for many of our participants to drive extra traffic and visibility to their blogs.

Facebook Developers said...

Speaking about the availability and size of the iPad is located in the middle of your Mac and iPhone. It must be seen as a recognition of the screen size bigger, but an indication of its market position on their own.

Facebook App Developers said...

Question will always be there.If you have capabilities then you easily sort it out otherwise you failed

Chaney Chang said...

Talking about the provision and size of the iPad is in the center of your Mac and iPhone.

Jamal Pittman said...

An interesting discussion is worth comment. I thinks you should write more on this topic, it might not be a taboo subject but generally people are not enough to speak on such topics. To the next.

Jamal Pittman said...

This is the right blog for anyone who wants to find out about this topic. You realize so much its almost hard to argue with you. You definitely put a new spin on a topic that's been written about for years.

Anthony Bray said...

I am very happy to read your articles it’s very useful for me, and I am completely satisfied with your website. All comments and articles are very useful and very good. Your blog is very attention-grabbing. I am loving all of the in turn you are sharing with each one!…