o jogo não é reconhecido pelo game center
Olá, estou tentando adicionar o game center ao meu aplicativo para iPhone. Eu fiz os seguintes passos
1) Adicionei um aplicativo à minha itnuesAccount
2) Atribuí o ID do pacote como net.myCompany.myGameCenter
3) Estou usando o mesmo "net.myCompany.myGameCenter" que o identificador de pacote no meu info.plist
4) usando oCódigo de amostra fornecido pela apple, adicionei as etapas de autenticação.
self.currentLeaderBoard= kEasyLeaderboardID;
self.currentScore= 0;
[super viewDidLoad];
if([GameCenterManager isGameCenterAvailable])
{
self.gameCenterManager= [[[GameCenterManager alloc] init] autorelease];
[self.gameCenterManager setDelegate: self];
[self.gameCenterManager authenticateLocalUser];
[self updateCurrentScore];
}
else
{
[self showAlertWithTitle: @"Game Center Support Required!"
message: @"The current device does not support Game Center, which this sample requires."];
}
Eu tentei colocar o valor kEasyLeaderboardID igual ao valor que eu me coloquei ao criar o novo quadro de líderes. Eu tentei o outro, que eu defini na etapa2. "myComap"