I am trying to implement Game Center in my game. I've tried it on the iOS 8 GM. I'm not able to get the authentication to work on device, but it works fine in the simulator. I'm using the code provided in Apple's documentation.
Do other people have the same issue? Any advice?
Fo the issue with Game Center, restart iPhone first. 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.
On June 13, 2016, the application was removed from iOS 10 and macOS Sierra; however, the service still exists, and users now manage their Game Center profile from within the Settings app. On June 24, 2020, Game Center returned and was refreshed and redesigned in iOS 14, iPadOS 14 and macOS Big Sur.
Game Center also checks whether you configured your game for Game Center. To authenticate the user, set the authentication handler ( authenticateHandler ) on the shared instance of GKLocalPlayer that represents the player of your game as in: GKLocalPlayer. local.
Happened to me as well in iOS8. Just need to enable Sandbox in Settings--> Game Center --> Sandbox.
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