In file:GameGamekit.m file line 235 change range.location = 0; to range.location = 1;
Otherwise you get this error: Leaderboard range {0,25} must have a location >= 1 and a range <= 100
In file:GameClass.mm - On line 186 - add another ,"" in this list
Score gscores = {"", "", "", "", 0}; change to Score gscores = {"", "", "", "", "", 0};
Otherwise you get Thread 1: signal SIGABRT error.
typedef struct Score
{
std::string rank;
std::string score;
std::string name;
std::string playerId;
std::string pic;
int timestamp;
} Score;
Comments
Gaming:getPlayerId
Gaming:getPlayerName
Gaming:getPlayerPicture
Gaming:isLoggedIn
Gaming:loadPlayerCenteredScores
Gaming:getPlayerScore
The following were tested and works
Gaming:login
Gaming:getPlayerInfo
Gaming:showLeaderboard
Gaming:reportScore
Gaming:logout - It doesn't crash and it looks like it doesn't do anything given you are still logged in
Gaming:showAchievements
Gaming:loadAchievements
Gaming:reportAchievement
Gaming:incrementAchievement
The following were tested and had issues and the fix that I mentioned in OP resolves the issue
Gaming:loadScores
The following was not tested
Gaming:autoMatch
Gaming:deleteState
Gaming:getAllPlayers
Gaming:invitePlayers
Gaming:joinRoom
Gaming:loadState
Gaming:resolveState
Gaming:revealAchievement
Gaming:sendTo
Gaming:sendToAll
Gaming:showInvitations
Gaming:showWaitingRoom
Gaming:updateState
Likes: MoKaLux
Likes: MoKaLux