Cinderfox

Accounts and stores

Making and playing a game needs no account at all. To put a game where other people can play it, you need to set three things up once on your Mac:

  • Cinderfox, to publish to cinderfoxgames.com. Free.
  • The App Store, for iPhone and iPad. Needs Apple’s paid developer membership.
  • Google Play, for Android. Needs Google’s one-off registration fee.

Do only the ones you want. Help → Accounts & stores… has a tab for each, and so does Get set up in the Project Manager. Each step says what it is for, offers a button or a link to the exact page, and checks it really works, asking Apple or Google where it needs to. A tick means it was checked, not just found.

Your keys are never kept in a project, because a project is what ships to players. Passwords go in your Mac’s Keychain, and key files go in the folders their tools use.

Cinderfox

  1. An account on the site. Free, with just your email. If you don’t have one, step 2 lets you make one.
  2. Connect this Mac. Press Connect to cinderfoxgames.com. Your browser opens the site. Sign in (or sign up) and press Allow, and you’re done. There is nothing to copy: the site makes a key for this Mac, which Cinderfox keeps in your Keychain. It then shows Connected as your name.

After that, Export… → Publish sends your game for review. Every release is checked before it goes live. Disconnect cancels this Mac’s key on the site and forgets it here. You can also see and cancel keys on the site, in your studio.

App Store

  1. The Apple Developer Program. Apple’s paid membership, renewed yearly. Every app on the App Store needs one. Enrol with your Apple Account; Apple can take a day or two to approve it.

  2. Xcode. Free from the Mac App Store. Open it once after installing it. Cinderfox uses its tools to sign and upload your app; you never need to use Xcode yourself.

  3. An App Store Connect API key. This is how Cinderfox talks to Apple for you.

    • In App Store Connect, go to Users and Access → Integrations → App Store Connect API. Under Team Keys, press +, give the key any name, and choose the Admin role.
    • Press Download next to it. Apple lets you download it only once, so keep the file somewhere safe.
    • In Cinderfox, press Choose the downloaded key… and choose that AuthKey_….p8 file.
    • Copy the Issuer ID shown above the keys in App Store Connect, and paste it into the box that appears.

    Cinderfox then asks Apple whether the key works, and tells you how many apps it can see.

  4. Signing on this Mac. Press Set up signing. Cinderfox makes the two certificates Apple requires, one for your phone and one for the store, and puts them in your keychain. Your Mac may ask you to allow it. You do this once per Mac.

  5. This game on iPhone. Open the game, and give it an app id in Project Settings → App (something like co.uk.yourname.yourgame; it can never change once it’s in a store). Plug in your iPhone, unlock it, and tap Trust if it asks. Then press Set up … for iPhone. Cinderfox registers the app id and your phone with Apple, and makes the two profiles that let the game run on your phone and go to the store. Press it again whenever you plug in a new phone.

  6. This game in App Store Connect. The one thing Apple won’t let anything but its own site do. In App Store Connect, go to Apps, press + → New App, choose your app id from the list, and fill in the name. Then press Check in Cinderfox.

Now Export… → iPhone & iPad works. My phone puts the game on the phone plugged in. Store sends it to TestFlight, for your testers and for review.

Google Play

  1. A Google Play developer account. Google’s one-off registration, in Play Console.

  2. Android Studio. Free from Google. Open it once after installing it, so it sets up the Android tools. Cinderfox uses those to build your app; you never need to use Android Studio yourself.

  3. An upload key. Google recognises your updates by this key. Press Make an upload key. Cinderfox makes one in its own folder and keeps its password in your Keychain. Keep a copy of the file somewhere safe (Show in Finder shows you where it is). If you lose it, you have to ask Google to reset it. If you already have an upload key, press Choose a keystore you have… instead, and enter its password.

  4. A key for uploading. Google’s way of letting Cinderfox upload builds for you is a service account. You set it up once, by hand:

    • In Google Cloud, make a project and turn on the Google Play Android Developer API for it.
    • Under IAM & Admin → Service Accounts, make a service account. Then, under Keys → Add key → JSON, download its key.
    • In Play Console, under Users and permissions, invite the service account’s email (it ends .iam.gserviceaccount.com). Give it permission to release apps.
    • In Cinderfox, press Choose the downloaded JSON…, then Check.

    Google’s own guide, linked from the step, has pictures of each screen.

  5. This game in Play Console. As with Apple, Google makes the app only on its own site. In Play Console, press Create app and use the same app id as the package name. Then press Check in Cinderfox, which asks Google whether it may upload that app.

Now Export… → Android works. My phone installs the game on an Android phone plugged in with USB debugging on (Settings → Developer options). Store puts it on Play’s internal testing track.

When something stops

If an export can’t go ahead, it says why in plain words, and its Set up in Accounts & stores… button opens the step that fixes it. Look again at the bottom of the dialog checks everything afresh, for example after you’ve installed Xcode.