Creating a test user
We have informed Apple that we want to use Game Center in our game. Next, we need to create a sandbox user account for testing purposes.
Game Center uses separate test servers during app development, so we will not be able to use our real Apple ID to log in to Game Center while we are testing. Instead, we will create a sandbox account in iTunes Connect.
Tip
The iOS Developer Library states, Always create new test accounts to test your game in Game Center. Never use an existing Apple ID.
Follow these steps to create a Game Center sandbox account for testing:
- On the iTunes Connect home page, select Users and Roles, as shown in the following screenshot:
- Once you are on the Users and Roles page, click on Sandbox Testers in the navigation bar at the top of the screen.
- As directed on the Sandbox Testers page, click the + icon to add a new user.
- Fill out the test user's information to your liking. Here is how I filled out my test user's information:
- Click the Save button...