【发布时间】:2022-11-10 10:56:29
【问题描述】:
使用 Game Center 验证 GKLocalPlayer.localPlayer 时,控制台会记录一条消息:
_authenticateUsingAlert:Failed to authenticate player with existing credentials.Error: Error Domain=GKErrorDomain Code=15 "The requested operation could not be completed because this application is not recognised by Game Center." UserInfo={GKServerStatusCode=5019, NSLocalizedDescription=The requested operation could not be completed because this application is not recognised by Game Center., NSUnderlyingError=0x600001fc57a0 {Error Domain=GKServerErrorDomain Code=5019 "status = 5019, no game matching descriptor: ios:***.***.***:1.4:4+-1" UserInfo={GKServerStatusCode=5019, NSLocalizedFailureReason=status = 5019, no game matching descriptor: ios:***.***.***:1.4:4+-1}}}
在此之后,我可以访问玩家的头像和姓名等属性,但游戏中心不会显示任何排行榜或成就,也无法提交分数。
iOS 15.2,在任何设备或模拟器上都会发生同样的情况。
我已经尝试了我在网上可以找到的一切:
- 检查正确的捆绑包 ID
- 在 App Store Connect 中创建排行榜
- 在 App Store Connect 中创建成就
- 在 App Store Connect 中创建一个全新的应用程序
- 在 Xcode 中创建一个全新的项目
- 删除并重新添加游戏中心功能
- 使用不同的 Apple ID 登录 Game Center
- 使用不同的 Apple Developer Account 并再次执行上述操作
我确实有另外两场比赛,一切都很好。在许多关于此的旧帖子中,没有人得到任何答案或解决方案,所以我认为 Apple 的后端系统有问题。
如果有人有任何关于如何解决的信息,请帮助。
【问题讨论】:
-
我联系了 Apple 开发人员支持并不得不发送屏幕截图和视频。此案现已转交给苹果的工程团队。
标签: ios app-store-connect game-center gamekit