Provisioning profile mismatch
iOS build failure: Certificate does not match provisioning profile
If your app build is failing or your download is not working and you see the error:
“It seems your app build has encountered an issue. The certificate used to generate the uploaded Provisioning Profile does not match the uploaded Certificate.”
This means the provisioning profile was not created using the same distribution certificate that you uploaded in your dashboard.
This mismatch causes the iOS build to fail.
Why this build failure happens
The provisioning profile was created using a different certificate
The uploaded .p12 file does not match the certificate used in the provisioning profile
An older certificate was selected during profile generation
Multiple apps exist in the Apple Developer account
The wrong certificate may have been used
The wrong App ID may have been selected
How to fix this iOS build failure
Create a new distribution certificate
Log in to your Apple Developer account
Go to Certificates, Identifiers & Profiles
Click the + button
Under Software, select Apple Distribution or iOS Distribution
Download the generated .cer file
Open it in Keychain Access
Export it as a .p12 file
Export the .p12 certificate without setting a password.
Create a new provisioning profile
Go to Profiles
Click the + button
Select App Store Connect under Distribution
Select the correct App ID
Select the newly created distribution certificate
Generate and download the provisioning profile
The provisioning profile must be created using the same distribution certificate you upload in your dashboard.
Upload the new files
Go to your Download dashboard
Navigate to the iOS configuration section
Upload the new .p12 certificate
Upload the new provisioning profile
Rebuild your app
Go to the iOS Build Configuration
Click Build app button to trigger a new build
Once both files match correctly, your build failure should be resolved and the download should complete successfully.
Last updated
Was this helpful?