I have been searching for a few days now an cannot find a thing.
I have an ipod touch 4g and have just started adding Game Center to a game i\'m working on.
From the iOS Provisioning Portal:
In order to utilize the Game Center Sandbox for testing, you must also create a new Game Center Test User account in the Game Center application on your device.
All explicit App IDs are automatically enabled for In App Purchase and Game Center. Wildcard App IDs and duplicates of existing explicit App IDs are ineligible for In App Purchase and Game Center.
Basically there are two steps:
Although what Kendall explains used to work in the past, from iOS9 it seems you have to create the sandbox accounts from iTunesConnect.
iTunesConnect -> Users And Roles -> Sandbox Testers
Had the same problem. This worked for me: 1. log out GC, UNINSTALL APPSYNC if your're jailbroken, kill all processes. 2. create adhoc build, sign it with an appropriate entitlement, upload to your webserver, whatever. 3. download/install this ipa to your device and run, when asked create new account, or use existing - it will be registered (or created if new) inside sandbox.
The simplest fix that should work for many people is as follows:
What you do is:
It helps to create the sandbox account in the sim first, just to be sure you aren't really create a Gamecenter account.
To be fully sure of creating a sandbox account, run Gamecenter on the simulator and create an account there.
It seems this whole process is simpler now in iOS 8. All I had to do was go to Settings
-> Game Center
and under the Developer
section, enable Sandbox
. At that point I was able to use Game Center in the development build of my game with my personal account and also with a sandbox account just fine.