Recently, Apple acquired TestFlight, a service for deploying beta versions of iOS apps without going through the difficult Apple-approved process using Xcode. Since the aquisition, Apple have changed the TestFlight process to use iTunes and Xcode, and now it makes you want to tear your hair out is “easy to do”, the documentation even says so!.
In fact, the new TestFlight is so easy to use that a plethora of new services have sprung up to replace it. Developers are leaving the new Apple product in droves. Our team at work has started trying out some of these, and then thought to take matters into our own hands. We’ve only ever used the most basic feature of TestFlight (getting apps into the hands of users), so what about just doing that on our own?
How hard could it be, right?
Actually, as it turns out, not too hard at all.
Test flighting without TestFlight
There is a supported route for doing this, known as “Ad hoc deployment”. Unfortunately, the Apple documentation on this kind of deployment is garbage. Most of information on this page comes from this GitHub repository. The process simply involves sticking three files on a server.
N.B. If you plan to deploy to iOS 7.1 or above, these files must be served using HTTPS.
And here are the files:
Generate this from an Xcode archive using “Export” then “Ad Hoc Deployment”. Just like TestFlight et. al., you’ll still need to use a provisioning profile with all the UUIDs of your test devices to generate the archive.
This shouldn’t ever need to change, and should look something like this: