iOS build

Provisioning profile doesn't support the capability

The profile is missing a capability

Provisioning profile doesn't support the capability. The app asks for a capability — push notifications, Sign in with Apple, associated domains… — that its App ID and provisioning profile don’t include.

Updated

What this error means

The app asks for a capability — push notifications, Sign in with Apple, associated domains… — that its App ID and provisioning profile don’t include.

Why it happens

The entitlements file asks for a capability the App ID was never given, so the profile Xcode picked cannot sign that request.

The message tools print

error: Provisioning profile "Harbor App Store" doesn't support the Push Notifications capability. (in target 'App' from project 'App')

How to fix it

  1. Enable the capability on the App ID in your Apple Developer account (Certificates, Identifiers & Profiles).
  2. Regenerate the provisioning profile so it picks up the change, then build again.
  3. If you don’t use that capability, remove it from the app’s entitlements file.

Check a log that shows this

Paste the failing step into the build error explainer. It matches this message, and any others in the same log, in your browser. Nothing is uploaded.

Other iOS build errors

Stop signing this on a Mac

CapWrapp creates the Apple Distribution certificate from your App Store Connect API key and installs it, with the provisioning profile, on every GitHub Actions build.

  • Free to start
  • No credit card
  • Sign in with Google or GitHub