Gamecenter leaderboard group is not in sync - ios

I have a game that has been live on iTunes for about a month, and it has 16 leaderboards (all full with scores now).
I decided that I wanted to create a free version of the app, that shares the same leaderboards.
So, I changed the leaderboards the paid app uses over to a group, and updated all the leaderboard names with "grp.*". That change is now live, and everything is looking great, the leaderboards are still full with scores.
Now, yesterday, I released the free version of my app, also using the group leaderboards. It took all day for the app to finally show up in the appstore. This morning, when I downloaded the app, and looked at the leaderboards, they are empty, except for a few scores.
I know the code is pointing to the exact same leaderboard names, as the 2 versions of the game are built from the same exact code. I double checked itunes connect, and it shows the 2 apps are sharing the same group leaderboards.
So I'm not sure what is going on. Does it take a while for the scores to sync? Or is something really wrong?

Related

GameCenter Leaderboard will not update after release

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
Created the Leaderboard in iTunes Connect
Enabled Leaderboard for App
Added correct methods to authenticate player & show leaderboard
Added correct methods to send scores
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
This is how All Time looks, it has not updated once since release
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?
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

Game Center groups

I have an iOS game with one Game Center leaderboard. I published the game a few months ago and now I'm working on the OSX version. I want to use the same leaderboard for both versions of the game, which means that I need to create a Game Center group. The problem is that Apple forces you to modify your leaderboard ID's when you move them into a group:
Group ids must begin with grp.
Now, if I do that, I will need to update the iOS version of the game so that my users can keep posting their scores, and if I release an update for the iOS version of the game, players who don't install the update will no longer be able to use the leaderboard.
My question is: Is there a way to use the same leaderboard in both versions of the game without having to update the iOS version?
Thanks.
You don't need to update the iOS version. As you guessed already, the old IDs continue to work (under normal circumstances). If you add new leaderboards or achievements, they will be added to the grp.* though (necessitating an update if you want these to be picked up by the iOS version).
The sandboxed grp. leaderboard does not inherit the live scores from the iOS version, the old leaderboard scores for the live iOS version should be still intact.
The live grp. leaderboard should inherit the live scores from the non-group iOS version leaderboard.
In general, sandboxed leaderboards and achievements can get wiped from time to time, and it also takes some time (a couple of hours sometimes) for changes in your iTunes connect configuration to reflect properly in the sandboxed GC database for your app.

iOS Game Center not working now app is live

I've just released my app on the App store tonight (https://itunes.apple.com/us/app/bird-hunter/id829810807?ls=1&mt=8), it has a leaderboard that worked perfectly well in sandbox mode, but now shows up saying no items.
During the review process I was able to see another user on the leaderboard, presumable the person who tested the app. I have game center enabled in itunes connect.
Is this something that will take some time to kick in, or is there something else I have to do to make it work?
I'd not submitted the Leader Board for approval to Apple with the app. I ended up doing some bug fixes to the app and then submitting the Leader Board for approval with the bug fixes, and then everything worked.
It's kind of a shame though as I had a big spike of downloads on the first day, and downloads didn't pick up again until the leader board stuff worked. I kind of wonder if I'd have got a lot more downloads had this been working straight away.

Why aren't my GameKit (Game Center) achievements working?

I'm trying to add achievements to my game, but first testing the waters with a test app to avoid making mistakes on iTunesConnect for a production app.
I've added all the libraries, set up leaderboards and an achievement on iTunesConnect, and even tested it to WORK with both scores and the achievement. So, I tried adding some more achievements. They all have unique string IDs and are all listed on iTunesConnect associated with the correct app. Through troubleshooting, I even went into the "current" app version (it's not released on the app store) and enabled all leaderboards and achievements successfully for the app version. However, the ONLY achievement that works is the original one. Additionally, I tried changing the description string and achievement points for the first achievement, but that hasn't updated either.
I've tested this through the game center app, checking to see what achievements and leaderboards are listed, enabling the game center view controller in app to check from there, and even used the following code to see what achievements are accessible
[GKAchievementDescription loadAchievementDescriptionsWithCompletionHandler:^(NSArray *descriptions, NSError *error) {
NSLog(#"achs: %#", descriptions);
}];
In every case, the only achievement that shows is the first one, with the FIRST version of the description string and the first number of achievement points.
In reporting scores, I've made sure to check the errors and they all come back as nil, regardless of what achievement they are submitting.
I'm suspecting there's some sort of caching function going on with iTunesConnect and it's not updating to the newest version of the achievements, but I really have no clue. Any ideas?
EDIT:
Two days after I started having the issue, I decided to fire up the app and see if I could deduce anything else... Suddenly, it all worked. Does it seriously take 1+ days to get achievements and scores to update and work?! That hardly seems conducive to a development environment...

Exporting Achievements in Gamecenter

I am releasing a game for iOS with Game Center integration. I have full and free version and the free version can be upgraded with in-app purchase. I found out the painful and long process of entering all achievements in iTunes connect trough web forms. Questions I have:
is there no way to export achievements in iTunes connect from one app and import into another?
why do the same Achievements in both apps have to have different IDs?
is there no way to change achievement ID once you made a mistake? is the really only way to delete it and start again?
You can group games, so that they can share same list of achievements and leaderboard. Check for Move to group button in gamecenter manage page.
Edit:
The achievements can't be deleted once the app go live, you can create new version of your game to have different achievements, but the older one will be there forever. So either make up your mind while the game is in testing mode or if you really need to change the achievement list, create a whole new game, instead of using versions.

Resources