Skip to main content
mobster asc reads App Store Connect with your own API key: your builds and their TestFlight state, and the screenshots, comments and crash logs your testers send from TestFlight. mobster testflight lists those builds and installs one on your iPhone by driving the TestFlight app, so mobster test --device can check the build your testers have, and its report names the build. mobster asc only reads. It sends App Store Connect GET requests and submits nothing to Apple: no build, metadata, screenshot, review or tester change. The one exception, setup for a paid team without Xcode, is off until you turn it on and makes three named writes behind an approval card (What Mobster writes to Apple). App Store screenshots makes your store screenshots on your Mac, and uploading them stays your call.

Add your key

In App Store Connect, open Users and Access › Integrations › App Store Connect API, and make a key with the Developer role (App Manager also works). Download its .p8 file once, then:
  • The key goes to your login Keychain, readable only by the Mobster programs. mobster asc key show says which key is there, and mobster asc key remove deletes it.
  • An individual key has no Issuer ID: leave --issuer-id out.
  • Each request carries a token Mobster signs on your Mac (ES256) and that lasts 20 minutes. The key itself never leaves the Mac, and Mobster never prints it.
  • A CI job without a Keychain sets MOBSTER_ASC_KEY_ID, MOBSTER_ASC_ISSUER_ID and MOBSTER_ASC_KEY_PATH (or MOBSTER_ASC_KEY, the file’s text) instead.

List your builds

--limit N shows more, and --json prints every field: version, build, upload time, processing state, and the internal and external TestFlight states.

Read TestFlight feedback and crashes

--crashes or --screenshots shows one kind. --save DIR downloads each crash log (<id>.crash) and each screenshot a tester sent.

Give a project its own key

mobster asc key add keeps one key for every project. To give a project its own key, run this inside the project:
The key goes to your login Keychain under that project’s folder. Every mobster testflight command looks for the project’s key first, then the shared one, and then MOBSTER_ASC_*. --shared keeps the key for every project instead. mobster testflight key show says which key a folder uses and never prints it, and mobster testflight key remove deletes it.

Install a TestFlight build on your iPhone

  1. Mobster looks the app up in App Store Connect and picks the newest build a tester can install. --build 45 (and --version 1.2) picks one. It refuses a build that expired, is still processing, or sits in no tester group, and says why.
  2. It opens the app’s page in the TestFlight app on the iPhone (itms-beta://), taps Install or Update, and waits until TestFlight shows Open.
  3. When TestFlight asks you to accept its terms for the app, Mobster stops and says so: you tap Accept once yourself.
Apple’s API lists builds but has no call that installs one, so the install goes through the TestFlight app. TestFlight’s page for an app offers its newest build. For an older one, Mobster stops before it touches the iPhone and prints the taps: open TestFlight, tap the app, tap Previous Builds, tap the build, tap Install. If Mobster taps and never sees Open, the outcome is unknown. It says so and does not tap again. Look at the iPhone. The next mobster testflight install only watches: it finishes when TestFlight shows Open, and it asks you to tap if TestFlight still shows Install. The iPhone’s Apple ID has to be a tester of the app. TestFlight runs only on an iPhone, not a simulator.

See the build in the report

The install writes the version and build number in .mobster/runs/testflight/, which git ignores. When you then run mobster test --testflight on that app, the build goes in results.json (testflight), in the JUnit properties and in the HTML report’s footer. An install whose outcome is unknown names no build. In CI, the runner’s owner lists the app in MOBSTER_RUNNER_TESTFLIGHT (CI). Mobster reads the version and build on the TestFlight page before it taps or records a build, and stops when it can’t. The report names the last build Mobster confirmed on that iPhone, so a build you install by hand later isn’t on it. A damaged install record stops the next install, and an earlier install with an unknown outcome must be settled before you ask for another build. Mobster for Mac reads the same builds through the local API: GET /api/tests/testflight/builds, POST /api/tests/testflight/install (409 outcome_unknown when a tap’s result is unknown) and GET, POST or DELETE /api/tests/testflight/key, which never returns the .p8.