iTunes Connect

Before beginning to write code within Xcode for achievements, first visit iTunes Connect ( to set up the achievements. For an introduction to working with Game Center in iTunes Connect, see the “iTunes Connect” section of Chapter 3.

When entering the Manage Game Center section of iTunes Connect, there are two configuration options: one to set up leaderboards, and the other to set up achievements. In the sample app, Whack-a-Cac, there will be six achievements.

To create a new achievement, click the Add Achievement button, as shown in Figure 4.1.


Figure 4.1 A view of the Achievements section before ...

Get iOS Components and Frameworks: Understanding the Advanced Features of the iOS SDK now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.