开发者

"Game Center account services are currently unavailable" on Simulator

I dont know since when this happened, maybe after the upgrade to Mac OS Lion and Xcode 4.1. But I am not sure.

I have quite a large project for iOS which is constrained by the Game Center / Game Kit. I get straight to the point: On the simulator I just can not connect to the Game Center anymore. Even when I open up the "Game Center"-App on the simulator and click on "Create Account" for example I get the error message: "Game Center account services are currently unavailable. Please try again later."

I already googled for a few days, here is what I tried:

  • I configured my router like Apple says in the documentation, although it did work before the configuations a few weeks ago. I also checked different networks / Routers.

  • I completely deleted the XCode Developer tools (the whole /Developer/-Folder) and the iPhone Simulator cahce in ~/Library/Application Sup开发者_运维百科port/iPhone Simulator and reinstalled everything

  • of course I resettet the device plenty of times

The Simulator has an internet-connection. When I open up Safari I can browse the net.

Thank you, I really would apprecheate any help or advice! Fabian


According to this thread:
https://discussions.apple.com/thread/3206110?start=0&tstart=0

the solution should be to reset your hosts file (in /private/etc/hosts) and the connection should work again

default hosts file should look like this:

##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1       localhost
255.255.255.255 broadcasthost
::1             localhost
fe80::1%lo0     localhost

anyway, it would be helpful, if you provide us some debug, like

NSLog(@"%@",[error description])

where error is of type NSError from NSHTTPURLResponse sendSynchronousRequest:

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜