无法在游戏中心加载成就屏幕

发布于 2024-12-18 21:05:34 字数 302 浏览 2 评论 0原文

我想在我的游戏中心加载成就屏幕。 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

吻安 2024-12-25 21:05:34

即使在 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文