PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, September 29, 2022

[FIXED] How to display GameCenter leaderboard sets on tvOS?

 September 29, 2022     tvos     No comments   

Issue

I have been trying to add multiple leaderboards that are in leaderboard sets to my tvOS target of my iOS game. I already have a game on the tvOS App Store so I know I have to add the leaderboards in the asset catalogue, as described here How to display GameCenter leaderboard on tvOS?

Now when trying to add multiple leaderboards I assumed you would add each leaderboard set with the corresponding image in Xcode (with correct leaderboard set ID), however this doesn't really work.

I can open the game enter menu on my TV and see the leaderboard sets, they even say how many leaderboards they contain, however clicking on it just says no data.

I tried signing out and back into game enter because you sometimes get the "no data" message on iOS in sandbox mode and a sign out/in fixes it. That didn't work.

Surely I don't have to add 40 leaderboards to my asset catalogue, that seems ridiculous

Has anyone done this before, I don't know what I am missing

Thanks


Solution

It seems you have to actually add each leaderboard set in Xcode asset catalogue with corresponding ID in the inspector on the right. Than for each leaderboard in a set you have to add the leaderboard. This seems madness if you have a lot of leaderboards but I haven't figured out another way yet.



Answered By - crashoverride777
Answer Checked By - Senaida (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing