Skip to content
YYBartT edited this page Mar 6, 2023 · 9 revisions

Setup

The Apple GameCenter extension is to be used alongside your Apple Developer account (App Store Connect webpage). All the required personal leaderboard ids and achievement ids should be managed from there.

  1. For creating leaderboards follow this guide: Adding Leaderboards
  2. For creating achievements follow the guide: Adding Achievements
  3. If you intend to use Save Games functionality you need to create a new iCloud container using your apple developer account dashboard (dashboard link). This also needs to be set up inside the project itself, following these steps:

Asset Browser Extension

double click the GameCenter extension icon on your project;

Asset Browser Extension

click iOS line under Extra Platforms. This will bring you to the code injection panel:

Asset Browser Extension

In this panel you need to add/replace (1) which will configure the XCode project to use the name of the iCloud container you previously created and (2) this will make sure the iCloud Drive services permissions are automatically added.

Clone this wiki locally