App Store rejects the build for a missing Game Center entitlement
Missing com.apple.developer.game-center entitlement keyShort answer
Apple requires the Game Center entitlement in new app and update submissions that have the capability enabled. Since Xcode 14 it is added automatically when you enable the capability, but older projects may lack it. With automatic signing, remove and re-enable Game Center. With manual signing, add the key by hand.
Fix it fast
1Find out which cause you have
Open the entitlements file of the target and look for the key. If it is missing while the capability shows as enabled, you are in the first cause below.
grep -n "game-center" *.entitlements2Match what you see, then jump to its fix
- 1
Signing and Capabilities lists Game Center, the entitlements file has no com.apple.developer.game-centerGame Center was enabled in an older Xcode and the key never got writtenFix - 2
You sign with a profile you made yourself and the capability toggle does nothingManual signing: the profile or entitlements file lacks the capabilityFix
- 1
What does the error look like?
Missing com.apple.developer.game-center entitlement keyGame Center capability is enabled in Xcode but the entitlements file has no game-center key
Cause 1 of 2
Game Center was enabled in an older Xcode and the key never got written
1Check
Apple says Xcode 14 and later add the entitlement to the provisioning profile and entitlements file when you enable Game Center. A project that enabled it in an earlier version may not have it.
grep -n "game-center" *.entitlements2Fix
With automatic signing, remove the Game Center capability from Signing and Capabilities and add it again so Xcode writes the key.
# Xcode: target > Signing & Capabilities > remove Game Center > + Capability > Game Center3Verify
The entitlements file now contains the key, then archive and upload again.
grep -n "game-center" *.entitlementsConfirmed by developer.apple.com
Cause 2 of 2
Manual signing: the profile or entitlements file lacks the capability
1Check
With manual signing Xcode does not edit the profile for you. The capability must be on the App ID, the profile must be regenerated, and the key must be in the entitlements file.
security cms -D -i MyApp.mobileprovision2Fix
Enable Game Center on the App ID in Certificates, Identifiers & Profiles, generate a new profile, and add the entitlement directly to the entitlements plist.
<key>com.apple.developer.game-center</key>
<true/>3Verify
The decoded profile lists the capability under its entitlements, and the upload passes.
security cms -D -i MyApp.mobileprovisionConfirmed by developer.apple.com
How do I stop it coming back?
- After you upgrade Xcode, open Signing and Capabilities once and compare it with the entitlements file.
- Keep entitlements files in version control, so a missing key shows up in a diff.
- With manual signing, regenerate the profile each time you change a capability.
Sources
How was this page made?
I drafted this page with AI assistance from the official documents listed under Sources. Every cause above names the document that confirms it. I have not reproduced this fix on a machine of my own yet, so read it as documented guidance, not a test report. Found a mistake? Tell me.
Which stack is behind this page?
Related fixes
Mobile apps
Cannot change the App Privacy answers in App Store Connect
Publish Your App Privacy Responses?
Only the Account Holder, Admin and App Manager roles can answer the App Privacy questions.
2 causes, each with a fixMobile apps
App record creation fails because you lack permission
You cannot add a new app in App Store Connect as a Developer or limited user
Only the Account Holder, an Admin or an App Manager can create an app record, and Apple blocks it until the Account Holder has signed the latest agreement.
3 causes, each with a fixMobile apps
You cannot find the button to pull your app back from review
No 'remove this version from review' message appears on the version page
There is no button called Reject Binary.
3 causes, each with a fixMobile apps
Your Apple Account cannot sign in to App Store Connect
Sign-in to App Store Connect is refused for an account that should have access
App Store Connect does not open to every Apple Account.
3 causes, each with a fixMobile apps
Apple rejected the app under Guideline 4.3, Design: Spam
Guideline 4.3(b) - Design - Spam
Guideline 4.3 is Apple's duplicate rule.
5 causes, each with a fixMobile apps
App Store Connect rejects a screenshot because it has transparency
Images can't include alpha channels or transparencies.
App Store Connect does not accept screenshots that carry an alpha channel or transparent pixels.
2 causes, each with a fix