开发者

"This game is not recognized by Game Center" error

I'm struggling to get past the first stage of getting Game Center integration to work. I've got this far:

I've created a new, clean app, added the GameKit headers and the basic authentic开发者_高级运维ateWithCompletionHandler: method in the app delegate.

Starting the app in the simulator brings up the login dialogue.

If I create a NEW account via the login dialogue, then that user gets authenticated and the app loads successfully.

If I attempt to log in with that account a second time, OR use an account that I've created using the simulator's Game Center app, the login is rejected with a "this game is not recognized by Game Center" error.

Resetting the simulator and reinstalling via XCode has no effect. The app is set up for Game Center via iTunes Connect, and the bundle identifiers are all correct.

Can anyone suggest where I'm going wrong here?


Check Your app is Game Center enabled in iTunes. Also check the correct bundle Identifier you are given in you project


This post explains it pretty well (skip past the Cocos2D-specific part at the top): http://www.cocos2d-iphone.org/forum/topic/20998 You can see all the steps needed there. And if it still doesn't work, then the bottom line is: wait 24 hours after creating the app (weekends don't count).


So having played around with this for a while, I ended up creating a completely fresh app on iTunes Connect and in XCode, and a new set of user accounts as well. That's not suffering from the same problems, from which I assume that there was some issue with the bundle identifier and/or things getting confused with inadvertent use of 'live' accounts.

Thanks for the help, though!


You have to create a test account through itunesconnect. The test accounts are flagged and work with the GameCenter sandbox server.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜