Unable to submit app update due to missing Game Center entitlement...even though it's present

After using the developer console without issues for quite a while now, I'm suddenly unable to submit an update to one of my games because App Store Connect thinks it is missing the Game Center entitlement. It gives the following message when trying to submit the update for review:

You must add the com.apple.developer.game-center key in Xcode.

The first submission I tried to make was indeed missing the capability somehow - I went back and fix this with another build, but the error remains still. I have added the Game Center capability and my entitlements file has the following lines:

<key>com.apple.developer.game-center</key>

<true/>

I did find this StackOverflow post describing the exact same issues from fairly recently - 14 hours ago as of the time of writing - so I'm wondering if this is a bug.

Wondering if anyone has encountered this and if there is a workaround.

Post not yet marked as solved Up vote post of RLin8910 Down vote post of RLin8910
4.4k views

Replies

I am suffering the same problem on three of my apps.

I think the issue is that these old builds that do not have the entitlement added are hanging around in the system and are checked against when you try to submit an app for review.

Unfortunately we have no way of deleting these builds we no longer want, so the only solution looks like we need to contact support and ask them to remove the old builds themselves.

  • This definitely seems like the answer - waiting on support to reply right now, but I was able to submit an update for another game without issues since the first build already had the entitlement. This seems to be a recent bug though judging by the lack of search results from further back.

  • Hello Friend, have you solved the problem? I am still suffering from this problem. Any solution will be very very appreciated

  • I have sent in a couple of tickets to the people that deal with build and release issues, but I still have had no answer from them.

Add a Comment

Exactly the same issue here, contacting DTS team

There's been a change in the Game Center entitlement configuration requirements, which was announced here:

https://developer.apple.com/news/upcoming-requirements/?id=06262023a

Could you read through the 3 documents linked there, follow the steps for adjusting your configuration, then report back here whether this resolved your issue?

Please note in particular this sentence from the "Capability and entitlement updates" link:

If [the Game Center capability] already appears as enabled in Xcode, and the com.apple.developer.game-center entitlement isn’t in the entitlements plist, remove and re-enable the Game Center capability.

"Capability" refers specifically to the capabilities you add in Xcode's Signing and Capabilities tab. We recommend that you switch over to using automatic code signing in Xcode, if you aren't already doing that.

  • I am using automatic code sining in Xcode, and I still met the same problem

Add a Comment

The com.apple.developer.game-center entitlement is already in the entitlements plist, and I've tried removing and re-enabling the GameCenter capability and submitting a new build to no avail.

  • I don't think there's much we can do to debug this here in the forums, since the next steps probably involve looking at account or project details. Could you perhaps submit a code level Technical Support Incident from your developer program account, so that we can look into it?

  • Have already contacted support, am in talks with them at the moment

  • Can you give me the support case ID?

Issue is still happening for me. Trying to add the build for review returns App Store Connect error (Network inspector)

"status" : "409",
"code" : "STATE_ERROR.BUILD_INDICATES_GAME_CENTER_DISABLED",
"title" : "Your build indicates game center is disabled.",
"detail" : "Your appStoreVersion has gameCenterConfigurations relationship but build is missing com.apple.developer.game-center key."

The game center entitlement though does exist in the build - going to the selected build details in App Store Connect shows it's there and set to true.

Re-enabling capability does not work, re-enabling automatic signing does not work, Xcode is setup properly.

  • 7 days passed, and I still cannot find a solution, even from a DTS reply

Add a Comment

I have asked for DTS, and Apple replied me with this:

I recommend that you remove and re-enable the capability, regardless of what you see in the entitlements plist. It’s not sufficient to verify the entitlements file as shown in your Xcode project, nor in the built IPA after you’ve archived your app. Because your app is re-signed as part of the App Store Connect upload process, it’s difficult to know whether that upload actually contains the correct entitlement file.

It doesn't help

  • I received exactly the same reply from DTS. Followed instructions exactly. Problem persists.

  • so desperate

  • I'm having the same issue. I tried with a binary built with a regenerated provisioning profile, same result. I am sending feedback. FB13071874

Add a Comment

Hi, exact same here. Forgot to add in 1st version but added in 1.0.0.2 but getting the same error. Did you manage to resolve?

Add a Comment

Same issue here. One thing I noticed is that in the list of entitlements, when I submit a build via xCode to the App Store, the Game Center one is actually missing, even though it's activated in in xCode. Can anyone see the GC entitlement when they upload?

Haven't solved this problem yet, Is this forum where Apple engineers can be found? I think Apple's engineers should pay attention to this problem

I have just solved it by re-creating a provisioning profile. It's just work-around and I would like to leave it to Xcode though.

  • Can you please tell me how to do this, I have always used Xcode's automatic code signing.

  • I tried to re-create provisioning profile, it remained the dame

Add a Comment

Creating a new Apple Distribution certificate fixed problem!

In case it helps anyone who faces this issue but their app is actually using Game Center:

My app's main target (the only one using Game Center functionality) had everything set up fine (App ID/entitlements file/capabilities). I took a look at my WatchKit app and WatchKit app extension targets and that turned out to be the issue - even though my app does not use Game Center on the watch.

  • In developer portal, I turned Game Center on for both WatchKit app and WatchKit extension IDs (under Certificates, Identifiers & Profiles -> Identifiers)
  • In Xcode, I turned on the Game Center capability in the WatchKit extension target (which in turn created an .entitlements file for that target)
  • I forced a re-creation of the automatically managed provision profiles (deleted everything under ~/Library/MobileDevice/Provisioning\ Profiles)

Uploading a new build had no issue anymore and I could successfully submit the app.

  • This solved the problem!

  • This is the crucial information!! Thank you. After two weeks of failing to solve the problem, despite two rounds of responses from DTS, I've just succeeded. Apple could have prevented a lot of angst by letting developers know that, as well as having to enable Game Center in the main app, it has to be enabled in both the watch app extension and the watch app, and that the only way to do the latter is via the developer portal.

  • Thank you for telling me the solution.

The root cause of this is that the message displayed on App Store Connect does not match the cause.

WatchKit extension allows you to enable Game Center and create entitlements plists.

WatchKit app does not allow you to select and enable Game Center, so you cannot create the entitlements plist.

However, provisioning profiles for WatchKit apps must be created with Game Center-enabled Identifiers.

Suppose your iOS app and WatchKit extension enabled Game Center in Signing & Capabilities and created an entitlements plist with com.apple.developer.game-center Key set to true. However, if the provisioning profile for your WatchKit app uses Identifiers that do not have Game Center enabled, you will receive the same error message when submitting for review.

The real cause of this is that Game Center is not enabled in the provisioning profile for WatchKit App.

I think many developers were confused because the cause and the message display did not match.

The following helped in my case: Appstore Connect -> Services - Game Center -> Add some achievement->Delete this achievement.

  • this worked for me thanks a lot

Add a Comment

It seems that the specifications of App Store Connect have changed since the review process for iOS17 compatible apps began.

If things remain as they are, the same problem will occur again.

To resolve, you need to also create an entitlements file in your WatchKit app and add the com.apple.developer.game-center key.

However, the WatchKit app does not have a Game Center option under Capability, so you cannot add Game Center.

Therefore, it is necessary to forcefully create an entitlements file.

Work procedure :

  1. Xcode -> TARGETS -> Watch App -> Signing & Capabilites

  2. Click +Capabilites and select available Capabilities.

  3. Delete the Capability added in 2. above. This will create an entitlements file.

  4. Open your Watch App's entitlements file and add the com.apple.developer.game-center key and set the Value to YES.

As a prerequisite, the Watch App profile must have Game Center enabled.

Additionally, Xcode15 now allows full automation and custom selection when validating and distributing.

I recommend choosing Custom here and making sure Game Center is enabled by specifying the profile explicitly, like when you were working with Xcode14.

  • A bit unexpected solution, but thankfully this worked for me as well!

  • Fixed it for me as well

  • This was the last thing I needed to do to fix this issue. Thanks a lot Mario!

    Really disappointed Apple caused this confusion.

Add a Comment