Provisioning Profile Missing Push Notification Entitlement (com.apple.developer.push-notifications) Despite Being Enabled

I'm running into an issue during the iOS build process for my app, and I'm hoping someone can point me in the right direction.

❗ The Problem

When attempting to archive the app via EAS Build (Expo), the build fails with the following error:

`Provisioning profile "HCF_AppStore_ProvisioningProfile" doesn't include the com.apple.developer.push-notifications entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update.`

What I’ve Already Done:

  • Enabled Push Notifications capability for the App ID (com.rsmco.helpcreatefamilies) in the Apple Developer portal.
  • Deleted and regenerated the App Store Provisioning Profile after enabling the capability.
  • Confirmed the new profile is associated with the correct App ID and Distribution Certificate.
  • Uploaded the new profile to EAS (Expo) and rebuilt the app.
Yet the error persists during the Xcode archive step with Exit code 65.

Additional Info:

  • Provisioning Profile Name: HCF_AppStore_ProvisioningProfile
  • App ID: com.rsmco.helpcreatefamilies
  • Team: Reproductive Sciences Management Company, LLC
  • Workflow: Expo EAS Build
  • Capability causing issue: com.apple.developer.push-notifications

The error is because you have declared an entitlement in your project which is not included in your provisioning profile. The provisioning profile and your project entitlements must match.

The entitlement com.apple.developer.push-notifications is not a valid entitlement - it does not exist. So you can't add it to your provisioning profile. You need to remove that from your entitlements file.

If you have added this entitlement into the project yourself, you need to remove it. If this is added by Expo for some reason, you will need to contact their support channels to resolve this issue.

The correct entitlement you need to add for push notifications is aps-environment with the value set to either development or production whether this is a debug or release build.


Argun Tekant  Developer Technical Support

Provisioning Profile Missing Push Notification Entitlement (com.apple.developer.push-notifications) Despite Being Enabled
 
 
Q