取消3次后,ios7无法登录游戏中心获取 [英] ios7 can't get login in gamecenter gain after cancel 3 times

查看:252
本文介绍了取消3次后,ios7无法登录游戏中心获取的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题很奇怪。我的系统版本是IOS7。 ios7模拟器上的一切都很顺利。但是,当我尝试在我的iphone上进行身份验证时,回调块中的错误总是 GkErrorCanceled:用户已取消或禁用所请求的操作。

即使我已经登录游戏中心,错误仍然会出现。
我尝试谷歌问题,并发现stackoverflow上的某人已经征服了这个问题:
iPhone模拟器6.0无法连接到沙盒模式的游戏中心

我尝试按照这种方式行事,但是,它对我不起作用。我不知道我做错了什么。
有人可以就这个问题给我一个更详细的解决方案吗?
非常感谢!

The problem is strange. My system version is IOS7. Everything goes fine on ios7 simulator. However, when I try authenticate on my iphone, the error in the callback block is always "GkErrorCanceled: the requested operation has been canceled or disabled by the user".
Even if I've already logged in game center, the error still pops. I tried google the problem, and find someone on stackoverflow had conquered the issue:
iPhone Simulator 6.0 not able to connect to gamecenter in sandbox mode.
I tried following the way, however, it didn't work for me. I don't know if I did anything wrong. Could some one give me a more detailed solution on this issue? Thanks a lot!

推荐答案

更新:
此问题似乎只发生在沙箱中。

Update: This issue appears to happen in sandbox only.

也遇到了这个问题,这里我发现了:

Got this problem too, and here what I've figured out:

GameCenter显示提示仅登录几次(3-5),如果所有提示都被取消 - GameCenter将被禁用此应用程序。

GameCenter shows prompt for login only a few times (3-5), if all prompts were canceled - GameCenter becomes disabled for this app.

在iOS 7中存在一个问题:即使您登录GameCenter应用程序本身, GameCenter禁用状态仍然存在 - 应用程序仍会收到此错误:

In iOS 7 there is a problem: GameCenter disabled state remains even if you login into the GameCenter app itself - application will still receive kind of this error:


错误:错误Domain = GKErrorDomain Code = 2 GkErrorCanceled:用户取消或禁用了请求的操作

有两种解决方法:

首先:


  1. 通过设置应用退出游戏中心。

  2. 重置所有设置

  3. 设备重启后,启动带有开发版本的应用程序。启动后,GC登录viewController弹出。

第二个(这个帮助了我):

Second (this one helped me):


  1. 删除所有内容和设置。

  2. 设置为新设备 - 不要从任何备份恢复。

两种解决方法都不适合生产 - 我希望很快就会有Apple的解决方案。

Both workarounds are not a viable option for production - I hope there will be a fix from Apple soon.

大部分信息来自 讨论

Most of the info is from to this discussion.

这篇关于取消3次后,ios7无法登录游戏中心获取的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆