All posts
Guide

“Provisioning profile doesn’t include signing certificate”: how to fix it

Two Xcode signing errors with one root cause: the certificate in your keychain doesn’t match the profile, or its private key is missing. How to fix both.

By the Renameproof team · · 6 min read

Xcode stops with one of two messages. The first: “Provisioning profile "<profile name>" doesn't include signing certificate "<certificate name>".” The second, often during export: “No signing certificate "iOS Distribution" found. No "iOS Distribution" signing certificate matching team ID "<team ID>" with a private key was found.” Both mean the certificate Xcode wants to sign with and the certificate inside your profile aren’t the same usable pair on this Mac.

Why it happens

Signing needs three things that agree: a certificate, its private key in your keychain, and a profile that lists that certificate. A certificate is useless without its private key, and the key only exists on the Mac that created the signing request. The common breaks:

  • The private key isn’t on this Mac. The certificate was made on a colleague’s Mac, an old laptop or a CI machine. You can download the certificate, but not its key.
  • The profile is older than the certificate. Someone created or renewed a certificate, and the profile still lists the old one. Profiles don’t update themselves.
  • The wrong certificate type. A distribution profile can only include distribution certificates. Archiving with a development identity against an App Store profile gives the first message.
  • A stale or duplicate certificate in the keychain. An expired or revoked copy with the same name can be picked instead of the current one.
  • An old “iOS Distribution” setting. Apple’s certificate list marks iOS Distribution as “for use with Xcode 11 and earlier”. Current Xcode signs with Apple Distribution instead. An old CODE_SIGN_IDENTITY or ExportOptions.plist that names “iOS Distribution” makes Xcode look for a type you may not have.

How to fix it

  1. Open Xcode → Settings → Accounts, select your team and click Manage Certificates. Look for an Apple Distribution certificate that belongs to this Mac.
  2. If the certificate exists but its key is elsewhere, ask whoever made it to export it. In the same sheet they Control-click the certificate, choose Export Certificate and set a password. You get a .p12 file holding the certificate and its private key. Double-click it on your Mac to import it into the keychain. From the sheet you can also Control-click and choose Email Creator to ask them.
  3. If nobody has the key, create a new certificate: click + in Manage Certificates and choose Apple Distribution. Only the Account Holder or an Admin can create distribution certificates, and teams have a limit, so you may need to revoke an unused one first. Revoking a distribution certificate doesn’t affect apps already on the App Store, but you can’t upload new builds signed with it.
  4. Regenerate the profile. In your developer account open Profiles, edit the App Store profile, tick the current certificate, save and download it. With automatic signing, Xcode does this for you.
  5. Check the target’s build settings. With manual signing, Code Signing Identity should be Apple Distribution for Release, and the selected profile should be the one you just downloaded. Remove expired copies of the certificate from Keychain Access if they keep getting picked. Back up before deleting anything.
  6. Archive again. If you still export from the command line, update ExportOptions.plist (next section).

On CI and in export scripts

SetupWhat to check
xcodebuild -exportArchiveWith manual signing, set signingCertificate in ExportOptions.plist to “Apple Distribution” (or the certificate’s SHA-1). Old files often still say “iOS Distribution”. Use method app-store-connect.
Automatic signing on CIPass -allowProvisioningUpdates and an App Store Connect API key. Since Xcode 13, Xcode can use a cloud-managed distribution certificate when no local one is installed.
Xcode CloudDevelopers on Apple’s forums fixed this error by revoking the expiring “Distribution Managed (Xcode Cloud)” certificate so Xcode Cloud made a new one.
fastlane, Codemagic, BitriseMake sure the .p12 you upload holds the private key and that the profile you upload lists that same certificate.
Flutter, React NativeFix signing on the app target in the .xcworkspace. flutter build ipa can take --export-options-plist with the corrected file.
Expo (EAS Build)EAS stores the certificate and profile together. Run eas credentials to replace a mismatched pair.

How to stop it happening again

Keep one copy of each distribution .p12 in a password manager or your CI’s secret store, so a new Mac doesn’t mean a new certificate. When anyone creates or renews a certificate, regenerate every manual profile that should include it. If your team allows it, cloud-managed certificates remove the private-key problem for distribution entirely.

Questions people ask

What’s the difference between iOS Distribution and Apple Distribution?

Apple Distribution is the current type and works across Apple platforms. Apple lists iOS Distribution as for Xcode 11 and earlier. Settings that still name iOS Distribution are a common reason Xcode reports that no such certificate was found.

Can I download the private key from my developer account?

No. Apple only has the certificate. The private key lives in the keychain of the Mac that made the signing request, so you need a .p12 export from that Mac or a new certificate.

Will revoking my distribution certificate remove my app from the App Store?

No. Apps already on the App Store keep working. You just can’t upload new builds signed with the revoked certificate, and builds you haven’t submitted yet may be marked invalid.

The profile includes my development certificate. Why won’t it archive?

Development and distribution profiles are separate. Archiving for the App Store needs a distribution profile that includes a distribution certificate.

Sources

  1. Apple: Certificates overview
  2. Apple: Cloud-managed certificates
  3. Apple: Create a certificate signing request
  4. Xcode Help: Create, export, and delete signing certificates
  5. Apple: Edit, download, or delete provisioning profiles
  6. Apple Developer Forums: No signing certificate “iOS Distribution” found (Xcode Cloud)

Check your own name

Domains, both app stores, bundle IDs and every live site using the name, in under a minute.

Check a name

Keep reading

“No profiles for ‘<bundle-id>’ were found”: how to fix it

Why Xcode or xcodebuild can’t find a provisioning profile for your bundle ID, and how to fix it with automatic signing, -allowProvisioningUpdates or a manual profile.

November 27, 2026 · 5 min read

“Bundle identifier is not available” in Xcode: how to fix it

What “Failed to register bundle identifier” means, why it happens when no app on the App Store uses the ID, and how to pick one that will work.

November 17, 2026 · 5 min read
“Provisioning profile doesn’t include signing certificate”: how to fix it