Maestro vs XCUITest vs Mobster: when to use which
Three tools check iOS screens, and they start from different places. XCUITest is Apple’s framework: tests are Swift code inside your Xcode project. Maestro is a cross-platform test runner: flows are YAML files of commands. Mobster is built for apps a coding agent helps write: the agent drives your app through MCP tools, and Mobster checks assertions fixed before the run. If an agent writes your screens, pick Mobster. We make Mobster; the facts about the other two come from their own docs.
The three side by side
| Question | XCUITest | Maestro | Mobster |
|---|---|---|---|
| Tests are written as | Swift or Objective-C in a UI test target | YAML flows | ✓ Plain-English steps plus assertions |
| Who performs the steps | Your test code | The flow’s commands | ✓ Nobody (launch-only), your coding agent, or the Smart agent |
| Who decides pass or fail | Your assertions | The flow; its AI assertion asks an LLM (experimental) | ✓ Mobster checks assertions and execution evidence |
| Coding agents | Through xcodebuild | maestro mcp | ✓ mobster mcp: the agent drives, Mobster judges |
| Real iPhones | ✓ | – Not yet (its README) | ✓ Over USB |
| iOS simulators | Xcode’s | Xcode’s | ✓ Its own, headless, the app reset each run |
| Android and web | – | ✓ | – iOS only |
| Price | Free with Xcode | CLI free (Apache-2.0); Cloud $250 per device a month | Free |
Mobster vs Maestro, Mobster vs XCUITest and Mobster vs Appium go row by row, with the sources.
Pick Mobster when a coding agent writes your screens
The agent checks the screen it wrote. It builds your app for the simulator and calls verify_start with the steps and what must be true. Then it drives with screen, tap, type_text and swipe, each of which returns the new screen as an outline of the accessibility tree, and calls verify_finish. Mobster checks the declared assertions and returns the verdict with an overlay frame when available. The expectations are fixed before the agent touches the app, so it can’t bend them to fit what it finds. Test your iOS app with Codex walks through the loop.
No model in the verdict. Mobster checks declared assertions and execution evidence. A check with steps may end needs_review if its final expectations already held before those steps ran. AI end-to-end tests for iOS explains the rules.
Checks anyone can read. A check is the steps in plain English and a list of what must be true, in a YAML file you commit. An agent performs the steps and can try to follow a changed flow. Any run becomes a check with --save, or save_check from your agent. The Checks reference has the format.
The real iPhone too. mobster verify --device checks an app you installed on your USB iPhone without clearing its data. Mobster for Mac builds, signs and renews the runner for each phone.
Simulators you never manage. Mobster creates its own simulators, boots them headless, builds WebDriverAgent once per Xcode version and resets the app before each run. It leaves your own simulators alone.
Pick XCUITest or Maestro for these jobs
- XCUITest for a regression suite that compiles with your app and runs with
xcodebuild testin CI with a Mac and Xcode, or in Xcode Cloud, written as Swift code. - Maestro for one suite across Android, iOS simulators and the web, or for a hosted device cloud ($250 per device a month on Maestro Cloud, with a free trial).
They work together
XCUITest in CI, Mobster in the agent’s loop. Keep the suite you have. Let the agent check each screen it changes with Mobster before it opens a pull request, and let CI run XCUITest on the result. Both find elements by accessibility identifier, so .accessibilityIdentifier("tasks_left") in SwiftUI serves both.
Maestro for cross-platform regression, Mobster for the iPhone. Maestro covers the cross-platform suite on simulators and emulators. Mobster covers what needs a real iPhone, and the agent’s loop on iOS.
A first Mobster check
Say your app has a task list, and a change stops the remaining count from falling when you mark a task done. The task check on that build prints this:
✗ failed Marking a task done lowers the count (31.4 s) ✓ visible id=task_1 selected=true ✓ value id=done_count == 1 ✗ value id=tasks_left == 2: was "3 tasks left"When the check passes, it exits 0.
Run a check on your own app. Get Mobster for Mac, press Add next to your coding agent in Settings › Connectors, and build your app for the simulator:
xcodebuild -scheme YourApp -destination 'generic/ platform=iOS Simulator' \ -derivedDataPath .mobster/ build CODE_SIGNING_ALLOWED=NO buildThen ask your agent: “Run my mobster checks and tell me the verdict.” Mobster for Mac is free (AI runs on a supported AI plan, an API key or a model on your Mac), with guided setup for your iPhone, a live view and history.
Getting started with verify walks through a first check. The Mobster side here is tested on an iPhone 15 Pro running iOS 26 and on iOS 26 simulators.
Questions
Is Maestro better than XCUITest?
They suit different teams. XCUITest is Apple's framework, written in Swift inside your Xcode project and free with Xcode. Maestro writes flows in YAML and runs them on Android, iOS simulators and the web, which helps when one team tests several platforms.
Can Maestro test on a real iPhone?
Not yet: Maestro's README says physical iOS devices are not yet supported. XCUITest runs on devices, and Mobster checks your app on a real iPhone over USB with Developer Mode on.
Does Mobster replace an XCUITest or Maestro suite?
It works beside them. Keep your suite for regression, and give your coding agent Mobster to check each screen it changes, on a simulator or your iPhone, before it says the work is done.
Is Maestro better than Appium?
For different jobs. Maestro writes flows in YAML and runs them on Android, iOS simulators and the web, but its README says physical iOS devices aren't supported yet. Appium drives real iPhones and simulators from test code in Java, Python, JavaScript and more, once WebDriverAgent is built and signed, which its driver can do for you.
Sources
- Maestro on GitHub (README)
- Maestro docs: what is Maestro
- Maestro docs: Maestro MCP
- Maestro docs: assertWithAI
- Maestro pricing
- Appium clients
- Appium XCUITest driver: real device setup
- Apple: XCTest
- Apple: XCUIAutomation
- Apple: running tests and interpreting results
- Apple: accessibilityIdentifier(_:) (SwiftUI)
- Apple: Xcode on the Mac App Store
- Mobster docs: checks
- Mobster docs: test your app



