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 Support/iPhone Simulatorand 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
hostsfile (in/private/etc/hosts)and the connection should work again
default hosts file should look like this:
anyway, it would be helpful, if you provide us some debug, like
where
erroris of typeNSErrorfromNSHTTPURLResponse sendSynchronousRequest: