In this guide, we’ll get your Distiller project setup for over-the-air deployment with Testflight (other services coming). This process involves a lot of Apple Developer Center interaction, and can be pretty tedious. So, take your time.
You need to enter the OTA configuration process from any Build Details page or from the Project Settings page.
To deploy a build from Distiller, we need to be able to sign your code. To do that, you’ll need to generate a new Apple Certificate. Click the “Download CSR” button and your Distiller CSR (“distiller.certSigningRequest”) will download to your machine. Keep that file handy.
Go to https://developer.apple.com/, log in, and navigate to “Certificates, Identifiers, & Profiles.”
Select “Certificates” and navigate to your iOS Certificate list.
You should be viewing your list of iOS Certificates. We need to create a new one for your Distiller builds. Click on the “+” button to enter the Add a New Certificate flow.
Select “App Store and Ad Hoc” for the type of certificate you wish to create and click “Continue.”
You should now see a file selector to select the CSR for your new certificate.
Select the CSR file that you downloaded just before (“distiller.certSigningRequest”) and then click “Generate.”
DONE. Your new Apple Certificate has been generated. You can choose to download it if you choose, but it’s not necessary to deploy your Distiller project.
We need to create a new provisioning profile for your Distiller project. A Provisioning Profile defines who can install and use your non-released app (developers, testers, etc.)
Click “Provisioning Profiles > All” on the left nav.
You should see a list of all of your existing provisioning profiles. Click the “+” button to generate a new profile.
You should see the Select Profile Type page. Select “Ad Hoc” as the provisioning profile type and click “Continue.”
Select the App ID of the project you are building on Distiller, then click “Continue.”
Now, associate this new provisioning profile with the new Distiller certificate you just generated. Select the certificate you just created. Click “Continue.”
Now, you can select which devices will be able to download and install the app. Select the devices from your device list and click “Continue.”
You’re now ready to save the provisioning profile. Enter “distiller” as the profile name and click “Generate.”
Down the new provisioning profile you just created to your machine, which will be named “distiller.mobileprovision”. Keep that handy.
Locate the iOS project that you’re building on Distiller. From the root directory, find the /profiles folder (create one if it does not exist). Add the “distiller.mobileprovision” document to this folder. Commit your change and sync the repo with GitHub. This will trigger a new build on Distiller.
Add your Testflight API Token and Team Token to your project. You can locate these tokens here:
API Token: https://www.testflightapp.com/account/#api
Team Token: https://testflightapp.com/dashboard/team/edit/
Click “Save” and you’re all set to deploy new builds to users.
You will need to create an API token for your account.
Click "Save" and you're all set to deploy new builds to users.
Go to the build details page. On a successful build, you will now see a “Deploy Now” button in the upper right hand corner. You can now deploy.