Installing iPhone/iPad application ad-hoc
Join the DZone community and get the full member experience.Join For Free
- 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).
- Add the newly created device to the Distribution Provisioning Profile.
- On you station, drag-and-drop the distributed provisioning profile into XCode.
- Under XCode, change both your app's and your target's build properties to use the new distribution provisioning profile.
- Delete the old Entitlements.plist file and create a new one.
- Change your settings so that XCode uses Device as the Active SDK, and Distribution as the Active Configuration.
- Build your app, then zip the executable.
- 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.
- 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).
- 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).
- 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!
Published at DZone with permission of Mihai Fonoage, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.