Skip to content

Use Cases & Comparison ​

Once installed, iphone-control covers four common workflows on Linux or macOS from a single Rust binary — over USB or Wi-Fi, with nothing installed on the phone and no Apple ID required on iOS 27 and later.

Common Setups ​

1. Give Claude Code, Codex or Cursor a Wireless Real iPhone ​

Let your coding agent interact with a physical iPhone or iPad for apps that have no public API, routine lookups, multi-step forms, or verifying mobile behavior alongside code changes.

  • Run iphone-control wifi on once while plugged in, then unplug — the daemon reconnects over Wi-Fi within seconds.
  • Install the official Claude Code Plugin for guided element selection, batching and troubleshooting:
    text
    /plugin install iphone-control --marketplace Derrors/iphone-control
  • Open the optional browser control page to watch live ~60 fps video, steer an in-flight task without stopping it (task say), and approve sensitive actions (paying, deleting, sending) before they run.

2. Turn a Spare iPhone + Linux Box / NAS into an Unattended Device ​

No Mac required. Plug a spare iPhone or iPad into a home Linux server, Raspberry Pi, or NAS:

  • The daemon runs as a systemd user service and recovers automatically from cable replugs, USB/Wi-Fi handoffs, device reboots, and stuck axauditd or WebDriverAgent processes.
  • Optionally run iphone-control viewer --lan for an HTTPS control page and remote HTTP MCP (/mcp) protected by login tokens (including read-only tokens via viewer token add).
  • Enable Telegram or Bark notifications to get alerted when the device goes offline, needs a post-reboot unlock, or hits an abnormal restart.

3. Mac-Free Real-Device QA & WebView Inspection ​

For indie developers and QA engineers running real-device checks from Linux workstations or test hosts:

  • Combine iphone_batch (up to 20 steps in one call), iphone_wait_for (wait for text to appear or disappear), and iphone_scroll_collect (read long lists in one pass) to keep flows fast and deterministic.
  • Opt into IPHONE_CONTROL_DEV_TOOLS=1 to unlock 6 developer tools: install/remove apps, stream device logs, fetch crash reports, and use Web Inspector to list Safari / WKWebView pages and evaluate JavaScript (read Security and Privacy first).

4. Drive Multiple Real Devices in Parallel ​

One daemon can switch across multiple USB and Wi-Fi devices on demand (see Several Devices). When multiple agents need to drive separate phones concurrently without stepping on each other, spin up isolated named instances:

bash
iphone-control instance add phone2 --device <UDID>
iphone-control --instance phone2 mcp-config

Each instance gets its own daemon, control socket, viewer port, and task state while sharing signing credentials and viewer login setup.

Prompts You Can Try Right Away ​

Paste any of these into Claude Code, Codex, or Cursor once iphone-control is registered:

  • Read-only inspection: “Open Settings → Battery, list the top three battery-draining apps over the last 24 hours with percentages, then return to the Home Screen.”
  • Long-list collection: “Open Notes, use iphone_scroll_collect to scan the latest 20 note titles, and list every note mentioning ‘invoice’ or ‘receipt’ without editing anything.”
  • Live mid-run steering: “Open Maps and search for nearby coffee shops, then summarize the top three rated places.” (While it is running, send a live steer via the viewer or iphone-control task say <id> "filter to places within a 10-minute walk".)
  • WebView debugging (with IPHONE_CONTROL_DEV_TOOLS=1): “Open my local dev URL in Safari, inspect the page title and any errors via Web Inspector, and take a screenshot.”
  • Canvas / game / map screens (no element tree): “Take a screenshot of the current map, zoom into the top-right controls with a region screenshot to confirm coordinates, then tap to switch layers.”

How It Compares to Other iOS Automation Approaches ​

Capabilityiphone-controlAppium / Xcode WDAmacOS iPhone Mirroring toolsXcode Simulator / devicectl
Runs on LinuxYes (x86_64 & arm64)Needs macOS to build/sign WDANo (macOS Sequoia only)No (macOS + Xcode)
No Xcode / paid Apple Dev accountYesNeeds Xcode for WDA signingYesNo
Zero app / Apple ID on phoneYes on iOS 27+ (auto-resigning WDA on iOS 17–26)No (installs WDA)YesSimulator / Xcode runner
Real device over USB & Wi-FiYes (Linux self-discovers Wi-Fi)Mostly USB / manual setupWi-Fi via ContinuityUSB / local network
Parallel multi-deviceYes (instance add per device)Heavy per-device WDA setupSingle active mirroring windowMultiple simulators / Xcode
Built for AI agentsthen readback, batch, scroll_collect, Agent SkillGeneral WebDriver protocolPixel screenshots + host eventsBuild/debug toolchain, not general app UI
Live video & mid-run steering~60 fps viewer + task say + approval gatesNo built-in viewer / steeringOccupies desktop focusNo
Unattended self-recoveryRecovers from replugs, reboots & stuck WDA/axauditdManual restartStops when host sleeps/switchesManual

When another tool is a better fit

  • If you only need Swift/UIKit compilation and simulator unit tests, Apple's Xcode toolchain is the right choice.
  • If you require Windows as the host OS, iphone-control does not support Windows (Linux and macOS only).
  • If you only want to trigger fixed, pre-authored actions inside iOS, Apple Shortcuts is lighter.

Next: Getting Started or explore the full Tools reference.

Released under the MIT License · Not affiliated with Apple Inc.