I’m integrating Game Center into my app and when I try to authenticate the player I get a crash in the game on the simulator, but on the device it works fine.
When I call this line…
[localPlayer authenticateWithCompletionHandler:^(NSError *error) {
On the simulator it asks me to sign into sandbox gamecenter or create an account. If I sign in or create an account the game crashes with “EXC_BAD_ACCESS”
Running the game on a device works fine. I can log in and it shows the welcome message. Anyone have any information on how to fix this? Been searching google for 2 hours