A Distribution Provisioning Profile combines your App ID and Distribution Certificate. It authorizes your app to use particular services (like Push Notifications) and ensures that your app is submitted by you. This is why Distribution Certificates are tied to a specific Mac.
An Ad Hoc Distribution Provisioning Profile lets you test your built apps on devices you have configured in AppStore Connect. This article will help you create a distribution profile for testing your app on iOS devices prior to submitting it to the Apple App Store.
Note: Test Devices in an Ad Hoc profile are different than Test Devices defined in the mag+ Publish portal. Test devices in an Ad Hoc profile allow you to test your app on select devices before the app is made live. Test Devices in mag+ allow you to test content from the mag+ Publish portal before it is published.
Before You Begin
- Make sure you have created an App ID in AppStore Connect (for more information, read the article "iOS - Creating an App ID.")
- Make sure you have created and installed your Distribution Certificate and exported it as a .p12 file (for more information, read the article "iOS - Creating a Distribution Certificate and .p12 File.")
- Make sure you have added all your iOS test devices in the iOS Dev Center (for more information, read this article - iOS - Defining iOS Test Devices in the iOS Dev Center)
How to Create an Ad Hoc Distribution Provisioning Profile
1. To login into the iOS Developer Console goto <https://developer.apple.com> and click Account at the top
3. Click on "All" in "Provisioning Profiles" section
8. Place a checkmark next to the test devices where you will install your app and click "Continue."
Note: Your app will only run on the devices you check. Any time you add or remove a device, you will need to generate a new Ad Hoc profile.
9. Enter your app name and "-AdHoc" in the name field and click on "Generate."
Note: mag+ recommends adding the text "-AdHoc" at the end of your profile name. This helps identify it should you create more distribution profiles.
11. Login to the mag+ Publish portal <https://publish.magplus.com> and go to Apps > iOS > Certificate and Provisioning Files.
App Creation: Next Steps
Creating provisioning profiles is only one step in creating an iOS app for distribution. Please refer to the additional articles in this section for information on setting up and configuring in-app purchases, etc. These items correspond to settings in the mag+ Publish portal. The portal will actually build your customized iOS app. You will then upload this app to the Apple App Store or to your own internal distribution servers (for enterprise customers only).