Before you begin
- A Mac with Apple silicon.
- Xcode with an iOS Simulator runtime.
xcodebuild -downloadPlatform iOSinstalls the runtime. - Your app’s Xcode project.
Check your app
1
Install Mobster
mobster available in this terminal. If it still can’t find the command, see Install Mobster.2
Build your app for the simulator
In your project’s folder, replace A simulator build needs no signing team. It ends with
YourApp with your scheme. Add -workspace YourApp.xcworkspace if your project has a workspace:** BUILD SUCCEEDED **, and the app is in .mobster/build/Build/Products/Debug-iphonesimulator, named after its product.3
Check the first screen and save the check
Replace Mobster creates its own simulator, boots it headless and installs your app fresh, so the check sees what a new user sees. Allow about 2 minutes for the first run. Mobster waits up to 240 s for each of the boot and WebDriverAgent’s start before it ends
YourApp.app with your built app’s name. Replace Today with text its first screen always shows:couldnt_run.It prints Saved .mobster/checks/first-screen.yaml, then ✓ passed First screen shows Today and the path of the report. The saved check is plain YAML that you commit:.mobster/checks/first-screen.yaml
4
Run every saved check
After each change, build again, then run:It runs every check in
.mobster/checks and prints one line per check, then the totals and the paths of an HTML report and a JUnit file.Read the verdict
A failed check’s line starts with✗ failed. Under it, the expectation that didn’t hold says what Mobster found instead. Text that isn’t on screen lists the nearest text, such as not on screen; closest: "Choose a plan". An element the expectation names by its id or label says how it differs, such as plan_annual has value "$49.99 / year". JUnit’s failure message says the same. The run’s report.html shows each expectation beside the screen it was checked on.
The exit code is the verdict:
With
--json, the result is one object on stdout. Checks lists every field.
Next
Add steps
Tap through a flow with steps in plain English.
Every pull request
Run your checks in CI on each pull request.
Coding agents
Let Claude Code or Codex check its own changes.