Adding the provisioning profile
Codemagic allows you to upload a provisioning profile to be used for the application or to fetch a profile from the Apple Developer Portal.
The profile’s type, team, bundle id, and expiration date are displayed for each profile added to Code signing identities. Furthermore, Codemagic will let you know whether a matching code signing certificate is available in Code signing identities (a green checkmark in the Certificate field) or not.
com.example.app
, the matching profiles are the ones with com.example.app
and com.example.app.*
as bundle identifier.You can upload provisioning profiles with the .mobileprovision
extension, providing a unique Reference name is required for each uploaded profile.
- Open your Codemagic Team settings, go to codemagic.yaml settings > Code signing identities.
- Open iOS provisioning profiles tab.
- Upload the provisioning profile file by clicking on Choose a .mobileprovision file or by dragging it into the indicated frame.
- Enter the Reference name for the profile.
- Click Add profile.
You can automatically fetch the provisioning profiles from the Apple Developer Portal based on your team’s App Store Connect API key. The bundle identifier is listed for every available profile along with it’s name.
The profiles are displayed grouped by category: Development profiles
, Ad Hoc profiles
, App Store profiles
, and Enterprise profiles
. For each selected profile, it is necessary to provide a unique Reference name, which can be later used in codemagic.yaml
to fetch the profile.
- Open your Codemagic Team settings, go to codemagic.yaml settings > Code signing identities.
- Open iOS provisioning profiles tab.
- Click Fetch profiles
- Select the desired profile(s) and enter a Reference name for each one.
- Click Download selected. (scroll down if necessary)