Ship to the App Store

Have an Agent turn one of your game's leaderboards into a Game Center challenge, with a name, description and image in each language, and send it to App Review.

A Game Center challenge turns one of your game’s leaderboards into a contest between friends. Apple’s help says challenges are built on top of leaderboards and let players compete with their friends in time-limited competitions, and that players get a notification when a friend challenges them or passes their score. See Apple’s Manage challenges ↗.

Apple’s GameKit article says the scores your game already reports to that leaderboard also count for the challenge, and that players see challenges in the Games app. See Creating engaging challenges from leaderboards ↗.

Before you start

The game needs Game Center and at least one leaderboard: each challenge is built on one. If it has neither yet, start with Add Game Center leaderboards and achievements. That page also lists what your Apple Developer account needs.

Ask for a challenge

Say in the Project’s chat which leaderboard the challenge is for and what players should read, for example:

Add a Game Center challenge on the best-score leaderboard. Call it "Beat my score" in English and "Bats mon score" in French, with a one-line description. Make a picture for it too.
  1. The Agent finds the leaderboard and creates the challenge with asc game-center challenges create, with a reference name, a challenge ID and that leaderboard.
  2. It adds what players read, one language at a time, with asc game-center challenges localizations create: a name and a description.
  3. It uploads the picture as a PNG with asc game-center challenges images upload, either for one language or as the default picture for every language.
  4. It tells you in the chat what it created. To see the list at any time, ask “Which challenges does the game have?”. The Agent reads it with asc game-center challenges list.

For the picture, the Agent can make one (see Have Agents make pictures for your app), or you can send your own in the chat (see Send photos, files and sketches to an Agent). Apple’s Challenges reference ↗ lists the picture size and format Apple accepts.

What to decide

Say these in your request if you have a preference.

Choice What it is
Leaderboard The leaderboard the challenge is built on.
Reference name A name for you in App Store Connect. Players don’t see it.
Challenge ID The challenge’s ID. Apple’s reference says it can’t be changed later.
Repeatable Whether the challenge can be played more than once. Apple’s reference says players of a repeatable challenge choose how many tries they get.
Name and description What players read, in each language.
Picture One per language, or one default picture for all of them.

Send it to App Review

Ask the Agent to put the challenge into your next App Review submission, for example:

Add the new challenge to the App Review submission for version 1.3.

The Agent adds it with asc review items add, whose help lists challenges among the items a submission can carry (see review in asc: review and release). Then submit the version as usual. Submit for Review on the App Review tab sends the submission that’s being put together, so the challenge goes with the version. See Submit to App Review and release.

If this is the game’s first update with Game Center, the version also needs Game Center switched on: see Add Game Center leaderboards and achievements. For when a challenge needs a version and when it can go to review on its own, see Apple’s Submit Game Center components ↗.

After you submit, the submission’s Submitted Items on the App Review tab lists what went with the version.

Check where it stands

Ask, for example:

Is the "Beat my score" challenge live yet?

The Agent reads the challenge’s versions with asc game-center challenges versions list. Each version has a state from App Store Connect, for example WAITING_FOR_REVIEW, ACCEPTED or LIVE.

The help for asc game-center challenges releases says releases are used to publish challenge versions to live. It doesn’t say when that step is needed. If Apple has accepted a challenge and it still isn’t live, ask the Agent to look into it.

Change or retire a challenge

Say what should change. The Agent uses:

To Command
Change a name or description asc game-center challenges localizations update
Change the picture asc game-center challenges images (upload, delete)
Use another leaderboard, or change whether it’s repeatable asc game-center challenges update
Put it away for now asc game-center challenges update --archived true; --archived false brings it back
Delete it asc game-center challenges delete

Deleting a challenge, one of its languages or a picture needs --confirm, so the Agent asks you first. asc has no command to bring a deleted challenge back, so archive it instead if you might want it again.

For when a changed challenge goes to App Review again, see Apple’s Manage challenges ↗.

Questions

Does the game need new code for a challenge?
Apple’s GameKit article says the scores your game reports to the challenge’s leaderboard count for the challenge. To let players start a challenge from inside the game, ask your Agents to add it.
The Agent says no Game Center detail exists for this app.
asc shows “Warning: no Game Center detail exists for this app.” when the app has no Game Center setup in App Store Connect yet, for example as the Agent looks up its leaderboards. Ask the Agent to set Game Center up first: see Add Game Center leaderboards and achievements.
Can I keep players on old versions out of a challenge?
Apple’s help describes setting a minimum game version for challenges in App Store Connect on the web. asc has no command for it. See Apple’s Manage challenges ↗.
Can two of my games share a challenge?
Yes, when they share Game Center through a group. See Share leaderboards and achievements between your games.
Can I try a challenge before release?
Play a TestFlight build while signed in to Game Center, as for leaderboards. See Add Game Center leaderboards and achievements, and Apple’s Overview of testing Game Center ↗ for what your Game Center friends can see while you test.