6.0 KiB
title | description | type | page_title | slug | position | tags | teampulseid | ticketid | pitsid |
---|---|---|---|---|---|---|---|---|---|
Unable to Select Provisioning Profile for iOS App Build | When adding a provisioning profile in Telerik Platform and trying to build an iOS app, the provisioning profile seems to be invalid/not applicable, even though in Apple Dev Center it is valid. | troubleshooting | Invalid Provisioning Profle When Building for iOS | unable-to-select-provisioning-profile | ios, code-signing, build | 1073167, 1074291, 1072732 |
Environment
Service | {{site.ab-s}} ({{site.ab}}) |
Feature | Build - iOS, Publish - iOS |
Description
When you try to build or Publish your iOS app, at the Select Provision screen, you are unable to select your already imported provisioning profile. You may see an error message or an X next to the App ID.
Error Message
No applicable provisioning profiles available
Possible Causes
There are a few reasons why your provisioning profile may not be applicable for an app build. Below, you can find a list:
- The App ID of the provisioning profile does not match the Application Identifier of the app.
- The provisioning profile has expired.
- The type of provisioning profile that you have imported does not match the type of deployment that you are targetting (run on device, publish to App Store, distribute privately).
- The certificate that you used to create your provisioning profile is not imported in {{site.tp}}.
- The certificate that you used to create your provisioning profile has expired.
- The certificate that you used to create your provisioning profile has been revoked.
Solution
As there are a number of possible reasons for this problem, the best solution is to rule them out one by one. To do this, follow the steps below. Each step addresses one of the reasons listed above.
-
Open Options (→ Mobile) → iOS → Provisioning Profiles and see if the App ID of any of your provisioning profiles matches the Application Identifier that you specified in the app Properties screen.
If there is no match, you need to adjust your app Application Identifier or create a new App ID and provisioning profile in the iOS Dev Center.
-
In the Provisioning Profiles screen, check your provisioning profile expiry date.
If it has passed, you need to create a new provisioning profile in the iOS Dev Center.
-
In the Provisioning Profiles screen, see the type of the provisioning profile that you have.
For publishing to the App Store, the type needs to be App Store. For testing and private builds, you need Development, Add Hoc or Enterprise type of provisioning profile. If the type does not match the type of build that you want to make, you need to create a new matching provisioning profile in the iOS Dev Center.
-
In the Provisioninng Profiles screen, select or expand the provisioning profile to see its certificate.
If the certificate is grayed out, this means that you have not imported it into {{site.tp}}. Locate and import the certificate.
-
Open Options (→ Mobile) → iOS → Cryptographic Identities and check your certificate expiry date.
If it has expired, you need to create a new certificate in the iOS Dev Center and then generate a new provisioning profile with this certificate. When you are finished, add the certificate and import the provisioning profile in {{site.tp}}.
-
Open iOS Dev Center and go to Certificates, Identifiers & Profiles → Certificates and see the status of your certificates.
If the certificate that you used for generating your provisioning profile is missing from the list, this means it has been revoked. You need to create a new certificate and then generate a new provisioning profile with this certificate. When you are finished, add the certificate and import the provisioning profile in {{site.tp}}.
Notes
All procedures along with detailed explanations for creating App IDs, certificates and provisioning profiles are described in this section of the {{site.ab-s}} ({{site.ab}}) documentation: Code Signing Your Hybrid App.