Self-host guides

Install your Flutter game on an iPhone with TestFlight

Flutter track, Advanced. Needs a paid Apple Developer Program membership and a Mac with Xcode. They install your game through Apple's TestFlight app, with no public App Store listing.

Levels: Advanced. Last checked: not yet against App Store Connect (due Oct 14–16).

Course buyers: this guide is also lesson 8.7 Install the Flutter app on their phone (Flutter only).

What you'll get: your Flutter game on their iPhone, installed through Apple's TestFlight app. It isn't listed on the App Store; only the testers you add can install it.

Your photos go to Apple. TestFlight works by uploading the whole app, photos included, to Apple's App Store Connect, which then sends it to your testers. Builds for external testers also go through Apple's beta review. If that isn't fine for these photos, use Android by cable instead. Once they've installed it, you can't reliably remove it from their phone yourself (see "How to take it down").

Before you start: this one is for Advanced builders. You need:

  • a paid Apple Developer Program membership (Apple charges a yearly fee);
  • a Mac with Xcode;
  • the Pixelora Flutter app running on your own device (course lesson 7.4);
  • the Apple ID email address of the person you made it for.

No Mac or no membership? Android needs neither, and a web copy works on any phone's browser.

Advanceddo it yourself

1. Name, bundle id and signing. In Xcode (ios/Runner.xcworkspace), set a unique bundle id (like com.yourname.biscuitsbigday), the display name, and your team under Signing & Capabilities.

2. Build. Copy the latest game in first, then build the archive:

Terminal
dart run tool/sync_project.dart [PROJECT FOLDER]
flutter build ipa

3. Upload. Open the archive in Xcode's Organizer (or upload the .ipa with Apple's Transporter app) and send it to App Store Connect. Create the app record in App Store Connect first if Xcode asks for one.

4. Add them as a tester. App Store Connect → your app → TestFlight. Internal testers are people on your App Store Connect team and can install straight away. External testers (anyone else, by email) need Apple's beta review first.

5. They install it. They install TestFlight from the App Store, open your invitation and tap Install.

Builds expire. Each TestFlight build stops working after a while (90 days at the time of writing). Upload a new build before then, or use Android or a web copy for a gift that lasts.

How to take it down

App Store Connect → your app → TestFlight → open each build you uploaded → Expire Build. Do this for every build: it stops anyone installing it from now on. Removing a tester only keeps them from getting future builds.

You can't pull back a copy that's already installed. A build that's already on their iPhone may keep opening until it expires on its own (90 days at the time of writing), even after Expire Build. The only sure way to take it off is for them to remove it: on the iPhone, long-press the icon → Remove App. Share through TestFlight only with someone you'd trust to do that.

Before you share

Do these four checks before you send the link to anyone:

  • Open the link in a private window (or incognito). The start screen appears and the game plays. If you set a password, it asks for it first. (Installed an app instead? Open it once with the phone in airplane mode.)
  • Test it on a phone, and if you can, on the kind of phone the person you made it for has.
  • Make sure the game page isn't listed in search (web links only; an installed app isn't online). A few days after publishing, search the web for your game's address: the game page shouldn't show up. It asks search engines not to list it (a noindex tag), but check anyway. This covers only the game page: on GitHub Pages, the public repository behind it can still be found on GitHub (see that guide's warning).
  • Know how to take it down. Read the "How to take it down" steps above and find the button before you need it.

Only share the link with people you trust, and only with photos of people who are happy to be in the game. Anyone who has the link (and the password, if there is one) can see the photos in it.