GameCenter Leaderboard will not update after release
Asked Answered
W

1

11

GameCenter has been working fine before release when updating the high scores. Now, it has been over 24 hours and the highscores will not update at all. Instead, it only shows my score in "Today" and does not share it with anyone nor can I see anyone else's score although they have played the game.

Prior to the release it worked fine.

Here is what I have done,

Enabled GameCenter in Xcode

enter image description here

Created the Leaderboard in iTunes Connect

enter image description here

Enabled Leaderboard for App

enter image description here

Added correct methods to authenticate player & show leaderboard

enter image description here

Added correct methods to send scores

enter image description here

It all worked in the app prior to launch and updated scores to everyone. Now it just updates scores for that one person with their own score.

I have even deleted my own scores within iTunes Connect and it will not update on any devices and just keeps the score prior to deleting.

This is the Today section even after many people played

enter image description here

This is how All Time looks, it has not updated once since release

enter image description here

There are multiple questions like this but are not recent and deal with the sandbox (which was eliminated) and everything seems correct

Is there a crucial step I am missing? Are Apple's servers down? Does it just take very long for new apps to update leaderboards?

Whitney answered 11/2, 2017 at 23:6 Comment(4)
One suggestion: check the status of the error in your authentication handler. The common pattern found on the internet is to assume that a nil ViewController means you're successfully logged in. However, when the error is set, the VC will also be nil. I always check the if error is nil before evaluating the VC. Berfore digging deeper, I would check if there's a clue hiding in that error message.Petiole
@Petiole I had printed out the error and it was nil. Not really sure what is going on here, everything seems right in the code and there are no errors at all.Whitney
I'm betting it's on Apple's side. Yesterday, the developer portal was down. Today, after I posted that comment, I found that I'm not getting any cloudkit push notifications anymore.Petiole
Hopefully. I do not want to have to release another version just because of of a stupid mistake. I am contacting iTunes Connect support and will let you know what the issue was (hopefully it is on there end so it is a quick fix for them)Whitney
W
8

For anyone else who had this issue, I contacted iTunes Connect support and they went to their engineers. Apparently they were able to do something and have the scores sync correctly to iTunes connect.

It took 3 days but now there scores are all correct

Whitney answered 14/2, 2017 at 3:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.