This documentation is available as Markdown. For the complete index, see llms.txt. Skip to content

CLI — mobile

For the complete documentation index, see llms.txt

The unotest-mobile CLI (iOS, macOS only). Run with npx @unotest/mobile <command>.

install

Install a built .app on the Simulator; auto-detect bundle ID, URL scheme and permissions; optionally bootstrap unotest/ and .mcp.json.

Terminal window
npx @unotest/mobile install <path-to-.app> [--update-env]
  • --update-env — Persist the detected app/simulator config to the environment.

Example

Terminal window
npx @unotest/mobile install ./ios/build/.../MyApp.app --update-env

init

Bootstrap unotest/ + .mcp.json without installing an app.

Terminal window
npx @unotest/mobile init

doctor

Re-check the environment: Xcode, Simulator, Node, WebDriverAgent cache.

Terminal window
npx @unotest/mobile doctor

e2e

Run unotest/e2e/<name>.js against the Simulator.

Terminal window
npx @unotest/mobile e2e <name> [--quiet]
  • --quiet — Suppress per-step trace output.

lint

Static-check every scenario and helper.

Terminal window
npx @unotest/mobile lint

mcp

Run as an MCP stdio server (what the editor launches).

Terminal window
npx @unotest/mobile