Home/Glossary/What is ad hoc distribution, and should I use it or TestFlight?

What is ad hoc distribution, and should I use it or TestFlight?

Updated · airankrush

Term · Ad hoc distribution

Ad hoc distribution is a test distribution method offered by the Apple Developer Program: you sign the app with a distribution certificate and an ad hoc provisioning profile, export an ipa, and give it to testers to install. Only devices whose UDIDs were registered in the account beforehand and included in that profile can install it, and the number is limited by the yearly device allowance. It does not require uploading the build to App Store Connect and involves no beta review, which suits small-scale acceptance testing with a fixed set of testers and known devices. How long the app keeps running is bounded by the validity of the provisioning profile and the certificate.

How it relates to renting a remote Mac

Signing and exporting for ad hoc happen in Xcode on macOS, and that part works without obstacles on a remote Mac. The awkward part is the second half, getting the build onto the phone:

  • The installation methods in Apple's documentation use the device management tools on a Mac, or Apple Configurator, to install the exported package onto a device plugged into the computer. A remote Mac cannot be plugged into anyone's phone, so the ipa has to be transferred back to a local computer and installed by someone with a Mac at hand.
  • If the tester has no Mac either, this route is inconvenient for them. Some people set up their own web page for over-the-air installation; that requires you to provide a publicly reachable download address yourself, and you should follow Apple's documentation for how. Do not change the rented machine's network configuration or run a public-facing service on it for this purpose.

So for the combination "I have no Mac and my testers have no Mac", TestFlight is usually less work: all it takes is an Apple Account and the TestFlight app on the phone. Ad hoc fits two cases better: you are in a hurry and do not want to wait for external beta review, or the recipient specifically asks for the ipa file itself. Steps: Apple documentation: Distributing your app to registered devices.

FAQ

How many people can I send an ad hoc build to?

It depends on how many devices are registered in your account, and the device allowance is capped per membership year for each product type; for the actual numbers follow Apple Developer Help. It is counted per device, not per person.

My client got a new phone. Do I need to build again?

Yes. Register the new device's UDID, update the provisioning profile, then export the build again. The old build does not know about the new device.

Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support

Back to home · Glossary