Notification profile mismatch

iOS build failure: Notification provisioning profile mismatch

If your app build is failing, your build is not working, or your download is not completing and you see the error:

“It seems your app build has encountered an issue. The Bundle ID of the uploaded Notification Provisioning Profile does not match this app.”

This means the provisioning profile uploaded for push notifications does not match the required Notification Bundle ID.

This mismatch causes the iOS build failure.

Why this build failure happens

  1. The main app provisioning profile was reused for notifications

    • The same provisioning profile was uploaded for both the app and notifications

    • A separate notification provisioning profile was not created

  2. The Notification Bundle ID was not created correctly

    • The AppNotificationServiceExtension identifier does not exist

    • The wrong identifier was selected during profile creation

How to fix this iOS build failure

  1. Create a new notification bundle identifier

    • Go to Certificates, Identifiers & Profiles

    • Navigate to Identifiers

    • Click the + icon

    • Select App IDs and click Continue

    • Choose App and click Continue

    • Enter the Notification Bundle ID in this format:

      app.yourapp.bundleid.ios.AppNotificationServiceExtension

    • Do not enable any additional capabilities

    • Click Continue and then Register

circle-exclamation
  1. Generate a notification provisioning profile

    • Go to Profiles

    • Click the + icon

    • Under Distribution, select App Store Connect

    • Select the newly created AppNotificationServiceExtension identifier

    • Select the same distribution certificate used for the main app

    • Enter a name for the provisioning profile

    • Click Generate

    • Download the provisioning profile

circle-exclamation
  1. Upload the notification provisioning profile

    • Go to your app dashboard

    • Navigate to Notifications

    • Click on Build Settings

    • Upload the downloaded Notification Provisioning Profile in the relevant section

  2. Rebuild your app

Once the correct notification provisioning profile is uploaded, your build failure should be resolved and the download should complete successfully.

Last updated

Was this helpful?