Engineering & AI
Test a real iPhone over USB with iPhone Control
iPhone Control connects an AI agent to a real iPhone over USB to open apps, interact with the UI, and capture screenshots for verification.
Summary
- Use iPhone Control to let an agent operate a real iPhone and capture screenshots for verification.
- The host runs Linux or macOS. Setup depends on the iOS version.
- Start with Clock and compare two screenshots to confirm the stopwatch is running.

When you need to check an interaction on a real iPhone, ask an agent to open the app, tap the control, and capture the resulting screen. This walkthrough uses Clock to check that flow on a USB-connected phone. README
HubCom reviewed the love1106/iphone-control fork at commit 2c452fe on November 27, 2026. The fork had no separate release at the time of review. Installation links point to the upstream Derrors/iphone-control project. HubCom has yet to run the walkthrough on a physical device or use the tool on a client project.
What does it solve?
- Repeat a UI flow on real hardware. Have an agent repeat an interaction when checking an iPhone build.
- Capture evidence after an action. Use screenshots to verify that the app reached the expected state. Tool documentation
Features
- Read the interface. The tool returns screenshots and a list of UI elements the system can identify.
- Interact through MCP. The agent can open apps, tap, or swipe on the connected device. Tool documentation

When to use it
Use it for a smoke test on a team iPhone or iPad. After installing a new build, for example, check whether a button opens the expected screen.
What to watch for
- Check the host and cable. The project documents Linux or macOS and a USB cable that carries data. Upstream getting-started guide
- Check the iOS version. The project documents a route without WebDriverAgent on iOS 27 and later. iOS 17–26 uses WebDriverAgent and requires Apple ID signing. Upstream getting-started guide
Trial setup
Use your own iPhone or a device you are authorized to test. Ask the agent to open Clock, switch to Stopwatch, start from zero, and take two screenshots a few seconds apart. Stop the timer after capturing both.
Steps
- Install on the host. Choose the appropriate upstream build, connect the data cable, and follow the phone's pairing prompts. Upstream release · Setup guide
- Check the connection. Run
iphone-control doctor, then confirm the agent sees the device through MCP. README - Run one flow. Open Clock, start the stopwatch, and capture the screenshots. If an unexpected dialog appears, pause for the tester to review it.
Common mistakes
- Using a charge-only cable. If the host cannot see the phone, check the cable before changing MCP settings.
- Counting a tap as a pass. Check the screen state after the action.
How to verify the result
- Check the app. Both screenshots show the Stopwatch screen.
- Confirm the timer runs. The second screenshot shows a higher elapsed time. Then verify the stopwatch stops on request.
- Keep useful evidence. Save both screenshots with the iOS version and the test result.
Out of scope
Remote control, automatic unlocking, and full regression suites.
Terms in this article (4)
- iPhone Control
- A tool that connects an agent to an iPhone or iPad over USB to read and operate the interface.
- MCP
- A protocol that lets an agent call external tools, such as requesting a screenshot from a device.
- WebDriverAgent
- The UI automation component the project uses for iOS 17–26.
- Smoke test
- A short check that a core flow works.
Frequently asked questions
Do I need the viewer page open in a browser?
The documentation describes the viewer as optional. An agent on the same host can connect through MCP.
Can the trial replace an iOS test suite?
This is a single smoke test on a real device. A regression suite needs its own test data and pass criteria.
Sources
- Fork README, love1106 / iPhone Control contributors
- Upstream release v0.3.0, Derrors
- Upstream setup guide, Derrors
- MCP tools, iPhone Control contributors
- Original stopwatch demo, iPhone Control contributors