I would like to deploy an app to 20 iOS devices (iPhones and iPads) using Apple Ad-Hoc Deployment. I need to push out the application from a particular computer. Some of the devices that I will be using might have already been synced to computers.
I'm guessing that once I sync these devices to the computer I'll be using to deploy the app from, the content on each device that has previously been synced to a computer will be wiped. Is that correct? Is there a way around that?
Ad hoc distribution means great things for proprietary apps for teams, classrooms, and large organizations. Sure, a 100-client limit might be a little small, and it remains to be seen how clients will be certified (that is, if you have to connect to the Mothership).
Ad Hoc Distribution Authorizes a Limited Set of Devices to Run Your App. iOS developers enrolled in the Standard Program can also distribute an app outside of the App Store on up to 100 different devices for testing purposes only.
An ad hoc provisioning profile is a distribution provisioning profile that allows your app to be installed on designated devices...
If you don't want to use testflight, here is another over-the-air solution:
In your xcode project go to Product > Archive
Click Distribute
in the xcode organizer window that appears when the operation is complete
Click Save for Enterprise or Ad Hoc Deployment
and choose next
Choose your ad hoc provisioning profile (created in the member center at developer.apple.com. Make sure it has all 20 device uuids included on the profile.
Click Export
Save it. Make sure to click on the Save for enterprise distribution
checkbox and fill out the required info. Application URL will be the URL starting with http:// or https:// that will go to your files (see next step)
This will save two files yourFilename.ipa
and yourFileName.plist
. Copy these files to your webserver.
Now for the magic. You need to make a link somewhere with the URL itms-services://?action=download-manifest&url=http://yourwebserver.com/path/to/yourFileName.plist
Assuming all your links work and your provisioning profiles are correct, the app should start installing on any registered device that clicks on that link.
If you don't want over the air downloads, you can distribute that .ipa file that was generated in step 6 to your 20 people (their devices must be registered on the provisioning profile still). They can open that file in iTunes and then sync your app with their devices.
Installation of an application over the air or by syncing with iTunes will not wipe the content of any devices.
@Santa Claus answer is still valid in 2020. This is a good option to install app to selected devices when you don't want to use testflight for example bacause of 90 days limit.
Couple of things to point:
Distribute App
in xcode Archive/Organizer and select Ad Hoc
(or Enterprise) and press next: You have to check the box include manifest for over-the-air installation
(App Thinning can be None)https://www.example.com/apps/Foo.ipa
yourFilename.ipa
and manifest.plist
<a class="btn-download" href="itms-services://?action=download-manifest&url=https://www.example.com/path/manifest.plist">Download</a>
If you don't get error when clicking the download with safari browser in the selected device (UUID match) it will install the app. (Might not give any feedback of success but the icon is found on desktop and the app can be launched)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With