简体   繁体   English

iOS 8 GameCenter无法在设备上运行

[英]iOS 8 GameCenter Not Working on Device

I have a GameCenter enabled app which has been setup correctly with iTunes Connect, it works perfectly on the simulator, but when trying on the iPhone 6 it doesn't work. 我有一个启用了GameCenter的应用程序,该应用程序已使用iTunes Connect正确设置,在模拟器上可以正常运行,但是在iPhone 6上尝试时不起作用。

After doing some debugging I discovered that, even though I'm not signed into GameCenter and Sandbox more is enabled in settings, that the viewController in the authenticationHandler is nil. 经过一些调试后,我发现,即使我没有登录GameCenter并在设置中启用了更多沙箱功能,authenticationHandler中的viewController还是为零。

Is this a common issue? 这是常见问题吗? Any ideas? 有任何想法吗?

Having spent a bit of time - I did end up "answering" this a while ago (forgot I'd posted a question here). 花了一些时间-不久前我确实“回答了”这个问题(忘了我在这里发布了一个问题)。

I don't fully understand what happened - but around the time that the 8.1 beta came out - I installed that on my phone (which wiped it, annoyingly) but I figured every cloud has a silver lining and tried it again and it seemed to work straight away. 我不完全了解发生了什么-但是在8.1 Beta发布时-我将其安装在手机上(烦人地将其擦除),但我发现每个云层都有一线希望,然后再次尝试,似乎立即工作。

So although its not a direct answer to the question it did fix it. 因此,尽管它不能直接回答问题,但确实可以解决该问题。 My advice though - Make a backup of your phone before restoring if you ever get this issue. 不过,我的建议是-如果遇到此问题,请先备份手机,然后再还原。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM