无法在游戏中心加载成就屏幕
我想在我的游戏中心加载成就屏幕。 GKAchievement CompleteHandler 正在返回成就的空白数组,因此出现错误
“Error Domain=GKErrorDomain Code=3“由于与服务器通信时发生错误,无法完成请求的操作。” UserInfo=0xae232f0 {NSUnderlyingError=0xae2f9b0“操作无法完成。 status = 5044,游戏不支持成就”,NSLocalizedDescription=由于与服务器通信错误,无法完成请求的操作。}
并且成就屏幕显示“无法加载成就”。此错误的原因是什么?
I want to load achievement screen in my gamecenter. The GKAchievement completeHandler is returing blank array of achievement and so Error is coming
"Error Domain=GKErrorDomain Code=3 "The requested operation could not be completed due to an error communicating with the server." UserInfo=0xae232f0 {NSUnderlyingError=0xae2f9b0 "The operation couldn’t be completed. status = 5044, Game does not support achievements", NSLocalizedDescription=The requested operation could not be completed due to an error communicating with the server.}
And achievement screen is showing "unable to load achievement". What is cause of this error?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
即使在 iTunesConnect 中启用该应用程序后,我也遇到了完全相同的问题。我的问题是我在 AppDidFinishLaunching 回调中对用户进行身份验证。尝试将此呼叫移至应用程序启动后,如果您遇到与我相同的问题,它应该会清除它。
I had this exact same issue even after enabling the application in iTunesConnect. My problem was that I was authenticating the user in the AppDidFinishLaunching callback. Try moving this call forward to after the app launches and it should clear it up if you are having the same issue that I did.