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

  1. 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

  2. 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

  1. Create a new distribution certificate

circle-exclamation
  1. 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

circle-exclamation
  1. Upload the new files

  2. Rebuild your app

circle-check

Last updated

Was this helpful?