iOS Game Center - authentication error on one device

我怕爱的太早我们不能终老 提交于 2020-01-12 01:42:27

问题


On one of my devices (an iPad mini running iOS7), when I attempt to authenticate in Game Center I get the dreaded error:

Authentication Error: Error Domain=GKErrorDomain Code=2 "The requested operation has been cancelled or disabled by the user." UserInfo=0x15ef0f00 {NSLocalizedDescription=The requested operation has been cancelled or disabled by the user.}

I am clearly logged into Game Center. I have completely wiped the app from the device and even a fresh run from Xcode after deleting the app I still get the error.

I can log in with other devices with no problem. I'm signed into the same GC account on different devices. It's just that on this particular device it will not authenticate my app, nor does the app show up in the "Games" list in the Game Center app.

Any suggestions?


回答1:


I was having this same issue with an iPad 3 (retina) running iOS7 - evidently in iOS7 if Game Center is dismissed from your app 3 times the user is NEVER prompted again, and there is no way to reset this by re-logging in to Game Center (as you could in iOS6).

The current fix that worked for me is to reset settings - Settings->General->Reset->Reset All Settings.

Hopefully Apple fixes this bug in the next release, or at least provides better Game Center documentation for iOS7.




回答2:


+1 to workaround above (kristiankeane). Strangely this is only a pb for iOS7 devices. For iOS7 simulator, I was able to log out/log in from Game Center app to get out of a the 3 strikes behavior. (I mean this as a comment to the answer above but I can't add comments yet)



来源:https://stackoverflow.com/questions/19148422/ios-game-center-authentication-error-on-one-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!