Where do I get the code signing files I need
To sign your iOS builds, upload a provisioning profile (.mobileprovision) and your certificate (.p12 file) when configuring the build, along with the password you have set for the certificate. These files can be found in the Apple Developer Center, under Certificates, IDs & Profiles.
Getting a provisioning profile from Apple Developer Center
Getting a provisioning profile manually from Apple Developer Center
- On the Certificates, IDs & Profiles page, click on Provisioning Profiles.
- Select the provisioning profile you are planning to use for signing your app within App Center and download it. Make sure to select the right type of profile (development or distribution).
- After saving the provisioning profile locally (in a .mobileprovision file), you can upload it to App Center when configuring a branch.
Getting a provisioning profile automatically generated by Xcode
- Enable the automatic signing option in Xcode. Refer to setting up Xcode to automatically manage your provisioning profiles
- Push the project's changes into your repository.
- Get the generated provisioning profile from
- Upload the new provisioning profile Xcode has generated to App Center when configuring a branch.
Getting a certificate from Apple Developer Center
- On the Certificates, IDs & Profile page, click on Certificates.
- Select the certificate you are planning to use for signing your app in App Center and download it. Make sure to select the right type of certificate (development or production) and that the provisioning profile you've previously selected contains this certificate. Also, you need to have the private key for the certificate installed on your Mac - it will not be included if you only download the certificate from the Apple Developer Center.
- Download the certificate and open it on your Mac.
- Head to the "Keychain Access" app on your Mac and locate the certificate you have downloaded: For this, select the "My Certificates" section on the left.
- Find the right certificate and expand it to see the corresponding private key.
- Make sure both the certificate and the private key are selected, then right click for the context menu on the items and click "Export 2 items…".
- Select a location on disk to save the file as a .p12 – it is recommended that you choose a strong password for the file.
- After exporting the provisioning profile locally, you can upload it to App Center when configuring a branch.
Feedback wird geladen...