zhongerxin/iPhone-use

让 Codex 通过 USB 操作真实 iPhone:引导安装、App 自动化、实时屏幕与截图回退。

View on GitHub ↗Jump to charts ↓

zhongerxin/iPhone-use has 4k+ stars and 400+ forks on GitHub, is written in Python, and was last pushed on Oct 16, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 36 minutes ago
Added to GitGenius on October 11th, 2026
Created on October 6th, 2026
Open Issues & Pull Requests: 20 (+1)
GitHub issues: Enabled
Number of forks: 413
Total Stargazers: 4,100 (+6)
Total Subscribers: 7 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 11.2 hours
Mean response time: 20.8 hours
90th percentile: 46.8 hours
Tracked items: 6

Most active contributors

Sign in to see contributor activity.
Sign in

Related repositories by overlapping contributors

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 5
New in 7 days: 7
Closed in 7 days: 4
Avg open age: 1 days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 5
Closed in 7 days: 4
Comments in 7 days: 12
Events in 7 days: 26

Top labels

No label distribution available yet.

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

iPhone Use is a tool that enables AI code assistants to control real iPhones connected via USB by sending natural language commands.

The tool solves the problem of automating iPhone interactions for AI-driven testing and task execution. It works by communicating with iPhones through WebDriverAgent, a service that runs on the device itself. Users describe tasks in natural language, and the AI assistant can open apps, read page content, tap, scroll, type text, and organize lists. The tool displays the phone screen in real time within the assistant's interface. When element detection fails, it guides the model to examine screenshots and attempt coordinate-based taps instead.

Adoption requires macOS with the Codex desktop client, a complete Xcode installation with initial configuration completed, an Apple account and development team usable in Xcode, a physical iPhone connected via USB with developer mode enabled, Python 3.9 or later, and Node.js 20.19 or newer with npm 10 or later. The critical prerequisite is installing and launching WebDriverAgent on the iPhone itself using your own Apple account and development team signature through Xcode. The tool uses a pinned version of WebDriverAgent and manages its dependencies, signing, and deployment through a setup process. No jailbreak is required, and no separate Appium Server needs to run.

The project sends anonymous usage statistics to an independent PostHog instance by default, including launches, tool calls, connection status, timing, and error categories, using a random installation identifier without uploading screen content, input data, or device identifiers; analytics can be disabled by setting environment variables. Development activity shows ongoing refinement of the core automation capabilities and integration with the Codex environment. The tool prioritizes reusing existing connections and builds rather than creating new ones for each operation.