I am having trouble getting game center to work with my app.
Whenever I try to authenticate the user it comes back with the following error:
"The requested operation could not be completed because this application is not recognized by Game Center."
Most of my internet searches have yielded the response "Make sure that Sandbox is enabled" but with the new iOS 9 there is no sandbox anymore. I also have made sure that my Bundle ID and all of my certificates are correct so I don't think that is the problem. Thanks in advance!
Michael
Go to Settings > Game Center > Sign out and sign back in. If it continues, try connecting to a different Wi-Fi network or try from cell network. You can find additional details in. For the issue with Wallet and if you're still unable to connect to Game Center, reach out to Apple directly.
You can sign in and access Game Center details within iOS Settings: Once in Settings scroll down to the section that says "Game Center" and tap on it: If this is your first time accessing Game Center or you have previously signed out, tap on "Sign In", and sign in with your existing Apple ID.
Adding a leaderboard fixed the problem even though I wasn't using the leaderboard.
Did you enable Game Center in the project's capabilities?
Have you added the app in iTunesConnect?
Have you uploaded a build to iTunesConnect? If so, a good check to validate the that your setup is correct is to go to Activity | All Builds | ~your current build~, then scroll down to Required Capabilities. Does it list "gamekit" in that section?
The latest answer to the game is not recognized by game center suggests that if everything else is correct, just adding an achievement (or maybe a leaderboard) cleared the issue.
Edit: since writing this, the problem has appeared a few times for me. Creating a dummy leaderboard solved it the first time. Creating yet another solved it the second time. The third time it happened, just changing which of the dummy leaderboards was the default solved the problem.
Edit 2: Based on How to list all available GKTurnBasedMatches for a player?, it appears that in some cases, at least using Swift, you don't even get the "unrecognized" error. Operations just silently fail until you create a leaderboard.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With