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 ononce 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
systemduser service and recovers automatically from cable replugs, USB/Wi-Fi handoffs, device reboots, and stuckaxauditdor WebDriverAgent processes. - Optionally run
iphone-control viewer --lanfor an HTTPS control page and remote HTTP MCP (/mcp) protected by login tokens (including read-only tokens viaviewer 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), andiphone_scroll_collect(read long lists in one pass) to keep flows fast and deterministic. - Opt into
IPHONE_CONTROL_DEV_TOOLS=1to unlock 6 developer tools: install/remove apps, stream device logs, fetch crash reports, and use Web Inspector to list Safari /WKWebViewpages 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:
iphone-control instance add phone2 --device <UDID>
iphone-control --instance phone2 mcp-configEach 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_collectto 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
| Capability | iphone-control | Appium / Xcode WDA | macOS iPhone Mirroring tools | Xcode Simulator / devicectl |
|---|---|---|---|---|
| Runs on Linux | Yes (x86_64 & arm64) | Needs macOS to build/sign WDA | No (macOS Sequoia only) | No (macOS + Xcode) |
| No Xcode / paid Apple Dev account | Yes | Needs Xcode for WDA signing | Yes | No |
| Zero app / Apple ID on phone | Yes on iOS 27+ (auto-resigning WDA on iOS 17–26) | No (installs WDA) | Yes | Simulator / Xcode runner |
| Real device over USB & Wi-Fi | Yes (Linux self-discovers Wi-Fi) | Mostly USB / manual setup | Wi-Fi via Continuity | USB / local network |
| Parallel multi-device | Yes (instance add per device) | Heavy per-device WDA setup | Single active mirroring window | Multiple simulators / Xcode |
| Built for AI agents | then readback, batch, scroll_collect, Agent Skill | General WebDriver protocol | Pixel screenshots + host events | Build/debug toolchain, not general app UI |
| Live video & mid-run steering | ~60 fps viewer + task say + approval gates | No built-in viewer / steering | Occupies desktop focus | No |
| Unattended self-recovery | Recovers from replugs, reboots & stuck WDA/axauditd | Manual restart | Stops when host sleeps/switches | Manual |
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.