How to Avoid Stress When Adding Devices to Ad Hoc Distributed IOS Apps
by davidpatto-kn-i in Circuits > Apple
173 Views, 0 Favorites, 0 Comments
How to Avoid Stress When Adding Devices to Ad Hoc Distributed IOS Apps
Uploading and managing iOS applications to the Apple App Store is a fairly straightforward process. What happens however when you are managing an ad-hoc distribution? This is not usually so simple. Adding new users in particular can often be a chore. This process for distributing using HockeyApp was therefore created at KnowNow Information to save time and make it easy for anyone to follow.
You can contact me via our website at www.kn-i.com and follow me on twitter @david_patto
Step One - Obtain the UDID for the Device From Whatsmyudid.com
The UDID or Unique Device IDentifier allows you to include the device in the provisioning profile for the application.
1) Visit http://whatsmyudid.com and follow instructions there
Downloads
Step Two - Add the UDID at Apple Developer
This will add the device to the provisioning profile
- Login to https://developer.apple.com using your Apple ID and Password
- Navigate via left bar to 'Certificates, ID's and Profiles'
- Select via left bar ‘Devices/All’ - this will display a list of currently authorised devices
- Click on the ‘+’ icon top right of the window.
- Add the UDID and give the device a name to associate with this UDID.
- Click Continue and the confirm your choices
Step Three - Use XCode to Archive the Application
This will apply the provisioning profile including the new UDID to the application. This step takes around an hour on my system for most applications, the steps below indicate where this occurs)
- Start xCode
- Select the application that you want to update
- In the top menubar select Product>Archive (this step can take up to 5 minutes)
- Once complete select ‘Export…’ in the right hand panel
- Select ‘Save for Ad Hoc deployment’
- Ensure that the development team selected for Ad Hoc deployment is correct then select Next
- Select ‘Export one App for all compatible devices’
- On the summary page ensure that the boxes for inclusion of manifest and build from bit code are selected. Then select next.
- If you are using a third party application to distribute the app (like HockeyApp) then you don’t need to specify a real address to host. You must however use HTTPS: If you are using your own hosted location to distribute then you should follow the instructions here
- Continue - this step may take up to 1 hour while the bit code is compiled.
Downloads
Step Four - Distribution Using HockeyApp
HockeyApp is just one of a number of services that you can use to manage the ad-hoc deployment of your applications. Users need to be invited and the application that you archived in Step 3 needs to be uploaded.
- Fire up www.hockeyapp.net
- Login using ID and Password
- Click on the app to be updated
- If the UDID was added for a new user then select ‘invite user’ from top menu and complete
- Select Version>Add new Version
- Drag the .ipa file into the upload box.
- Add release notes
- Select Installation Yes and Restrict Downloads No or change as appropriate.
- Select Notifications as appropriate.
- Finished!
You can contact me via our website at www.kn-i.com and follow me on twitter @david_patto