Provisioning Profiles are needed to define how and to which devices your app will be distributed. They are a part of the deployment and security model that Apple has designed. Without a Provisioning Profile, you cannot distribute an app through the App Store, or through your own internal distribution method.
If you are distributing your app through the App Store, you will need a Provisioning Profile created in your Apple Developer account.
If you are distributing your app through an internal channel, such as MobileIron, Airwatch, or a webpage on your intranet, you will need a Provisioning Profile created in your Enterprise Developer account.
The steps below show how to create a Provisioning Profile in both types of Apple Developer accounts. The only difference will be in the type of Distribution Certificate that is selected in Step 7.
If you wish to update your Provisioning Profile, see the Annex at the end of this article. That guide will show you how to update the Provisioning Profile to Apple’s newest default requirements.
- Navigate to https://developer.apple.com/account and log in with your credentials. Click on the 'Certificates, Identifiers & Profiles' section, and then on the 'Provisioning Profiles' section.
- Click on the '+' button above and to the right of the list window.
- Select the radio button next to “App Store” underneath the Distribution heading. This is the Provisioning Profile needed in order to be able to upload your app to iTunes Connect.
- Then click on the 'Continue' button at the bottom.
- Next, you will be asked to select an App ID with which to associate this Provisioning Profile. Click on the drop-down list and select the App ID that belongs to your app.
- Then click the 'Continue' button.
- Next, you will be asked to select the Distribution Certificate that this Provisioning Profile will be linked to. Most likely, you will have only one. Select that certificate; click on the radio button next to it.
- Then click 'Continue'.
- The final stage is to give this Provisioning Profile a name. It is advised to give it a recognizable name. The best is to give it the same name as your app. You can also include today’s date, to document the date of creation.
- Then click on 'Generate'.
- You can then download the generated Provisioning Profile and save it to your desktop.
- Your Provisioning Profile is now ready to be used for re-codesigning your app.
Annex - How to Update your Provisioning Profile
From January 2016, DoubleDutch has upgraded to the newest iOS SDK. What this means for the Provisioning Profile is that it requires an extra service to be enabled by default; Associated Domains. The guide below will show you how to update your Provisioning Profile to the newest standard settings.
- Navigate to https://developer.apple.com/account and log in with an account that has access to your Developer Portal. Figure 8.
- Click on 'Certificates, Identifiers & Profiles'.
- The App IDs section in the left menu will already be selected. Above and to the right of the list of App IDs, you see a button with a magnifying glass. Click this and type in the App ID or the Bundle ID of your App ID to find it.
If you have only a few apps, you will be able to see your App ID right away in the list.
- Click on your App ID. This will open and show all the services. It is important that Associated Domains is enabled. If it isn’t like the image below, you will need to enable it.
- Scroll down to the bottom and click on the 'Edit' button.
- Then click on the checkbox next to Associated Domains.
- Another window will pop up and ask to confirm you want to enable this service. Click 'OK'.
- The checkbox will be checked now. Scroll down and click on 'Done'.
Your App Identifier now has Associated Domains enabled and a new Provisioning Profile can be created.
- Navigate to the Provisioning Profiles section in the left menu.
- Now search for your existing Provisioning Profile. Click on the magnifying glass button and type the name you gave your Provisioning Profile when you created it. It should appear in the results.
- You will see that the Provisioning Profile is now in an “Invalid” status. This is because the services for the App ID have been changed. To edit the profile, click on the name. This will open the properties of the Provisioning Profile. Click on the 'Edit' button.
- This will open the edit mode for this profile. You can amend the name of the profile to reflect the change or the current date, for documentation purposes. The correct Distribution Certificate should still be selected. After you have amended the name, you can click on 'Generate'.
- After you have generated the new Provisioning Profile, you will be given the option to download it.
- You now have an updated Provisioning Profile ready for the re-codesign process.