スコアが増加しないのはなぜですか?
GKLeaderboard *lb = [[GKLeaderboard alloc] initWithPlayerIDs:@["G:1518137155"]];
lb.category = @"top_matcher";
[lb loadScoresWithCompletionHandler:^(NSArray *scores, NSError *error) {
if(error == nil){
GKScore *score = [scores lastObject];
if(score) {
score.value += 40;
[score reportScoreWithCompletionHandler:^(NSError *error) {
NSLog(@"ERR: %@ SC:%lld %@ %@ %d", error, score.value, score.playerID, score.category, scores.count);
}];
}
}
}];
出力にエラーはありません
ERR: (null) SC:61 G:1689523782 top_matcher 1