Official Content

This document explains how to create a Provisioning Profile for developing with Apple and provides a brief overview about it.

A Provisioning Profile is a collection of assets which link a group of developers, a group of devices and one or more applications. Their purpose is to enable those devices to be used for testing the application while it is being developed. A single Provisioning Profile can be defined for more than one application using wildcards (*) in the bundle identifier definition. When working with the Apple Push Notifications Service, Provisioning Profiles have to be defined for only one bundle identifier (the one associated to the APNS SSL Certificate) which means that the use of wildcards is not allowed.

The steps needed to create and install the Provisioning Profile are as follows:

Step 1

Go to the iOS Dev Center and login with a team agent or team admin account.

Step 2

Go to the Certificates, Identifiers & Profiles option and open the Provisioning Profiles section.

ProvProfile1

Step 3

Select  the New Profile option and enter the required data: 

Type of the provisioning profile
ProvProfile2

The App ID previously created.
ProvProfile12

List of authorized developers (Certificates)
ProvProfile13

List of devices authorized for testing the application
ProvProfile14

Name for the profile
ProvProfile15

ProvProfile16

Step 4

Click on Generate and the new Provisioning Profile will be created and listed in the iOS Provisioning Portal. 

ProvProfile3

Note: Right after being created, the profile status is In Process. Refresh the page after a few seconds until the status is Active.

Step 5

Download the new Provisioning Profile and install it in the Xcode library in the MAC computer which will be used to build the application. For this purpose, after the download, open the Profile file (mobileprovision file) using Xcode.

ProvProfile4

Step 6

Check in Xcode that the new Provisioning Profile is installed in the Xcode Library (XCode > Preferences > Accounts > Account Details)

ProvProfile5

Step 7

Check that it is a valid development profile by opening the file with a text editor (the file is in XML structure) and in the <Entitlements> element, check that for the <aps-environment> the string value is <development>

ProvProfile7

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant