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, nor 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 Annex A. That guide will show you how to update the provisioning profile to Apple’s newest default requirements.
1. Navigate to https://developer.apple.com/account and login with your credentials. Click on the “Certificates, Identifiers & Profiles” sections, and then on “Provisioning Profiles” section.
2. Click on the “+” button above and to the right of the list window.
3. 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.
4. Then click on the Continue button at the bottom.
5. 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.
6. Then click the Continue button.
7. 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.
8. Then click Continue
9. 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.
10. Then click on Generate.
11. You can then download the generated provisioning profile, save it to your desktop.
12. Your provisioning profile is now ready to be used for re-codesigning your app.
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.
1. Navigate to https://developer.apple.com/account and log in with an account that has access to your Developer Portal. Figure 8.
2. Click on “Certificates, Identifiers & Profiles”.
3. 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.
4. 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.
5. Scroll down to the bottom and click on the Edit button.
6. Then click on the checkbox next to Associated Domains.
7. Another window will pop up and ask to confirm you want to enable this service. Click OK.
8. 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.
9. Navigate to the Provisioning Profiles section in the left menu.
10. 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.
11. 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.
12. 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”.
13. After you have generated the new Provisioning Profile, you will be given the option to download it.
14. You now have an updated Provisioning Profile ready for the re-codesign process.