Stuck with Game Center Sample Leaderboard [SOLVED]

I’ve just started to give Game Center leaderboards and achievments a go, and I’ve implemented the GKTapper code into my game. Although, now I’ve set up my own leaderboards via iTunes Connect, I can’t seem to access them; no matter what I put in the leaderboard section in my code, I always get the GKTapper leaderboards. Any thoughts?

[lua]

if loggedIntoGC then

gameNetwork.show( “leaderboards”, { leaderboard= “com.my.website.apptest.HighScore” } );

– Same as the Bundle ID in iTunes Connect
        end
    end

[/lua]

Do you use a a valid provisioning profile for the app? I do not think you can use a wild card provisioning profile to test this. Also you must test gc in IOS simultator or on a device.

Thanks Jensto! I believe I do have a valid Provisioning Profile, I’ll try making a new one and starting from scratch. I also am testing it on a device.

I’ve created a new Ad Hoc Provisioning Profile and unpublished App in iTunes Connect with a leaderboard set up, and I still have the same result. In the area where I call the leaderboard in the Lua code, what exectly am I supposed to call? The Application Bundle ID or the Leaderboard ID? I must be missing something obvious, haha. Thanks in advance!

EDIT:

I found that my CFBundleIdentifier was still set to the GKTapper Bundle ID in my build.settings file. I also needed a published score before the leaderboard would show up at all.

This resolved my problem immiediatly.

Do you use a a valid provisioning profile for the app? I do not think you can use a wild card provisioning profile to test this. Also you must test gc in IOS simultator or on a device.

Thanks Jensto! I believe I do have a valid Provisioning Profile, I’ll try making a new one and starting from scratch. I also am testing it on a device.

I’ve created a new Ad Hoc Provisioning Profile and unpublished App in iTunes Connect with a leaderboard set up, and I still have the same result. In the area where I call the leaderboard in the Lua code, what exectly am I supposed to call? The Application Bundle ID or the Leaderboard ID? I must be missing something obvious, haha. Thanks in advance!

EDIT:

I found that my CFBundleIdentifier was still set to the GKTapper Bundle ID in my build.settings file. I also needed a published score before the leaderboard would show up at all.

This resolved my problem immiediatly.