Hi Everyone,
I try to test Game Center in my iPhone game, but when i try to connect whit the following lines of code i get a alert that says "This game is not recognized by Game Center.".
[[GKLocalPlayer localPlayer] authenticateWithCompletionHandler:^(NSError *error) {
if (error == nil)
{
// Insert code here to handle a successful authentication.
}
else
{
// Your application can process the error parameter to report the error to the player.
}
}];
Now i've read many forums and look at the Apple documentation, but i can't find how i can enable the Game Center option at iTunes connect. I think i need to first add an application to "Manage application" and then enable the Game Center option. But how can i add an application only for testing?
Thanks for any help :)