Repository navigation
0.1.6
Release Notes
Released 20 November 2026.
- An iPhone from Windows: with Apple Devices installed, phonedriver drives an iPhone or iPad on iOS 17 to 26 over the cable with no Mac. You sign and install the runner from this release (
PhonedriverRunner.ipa) with Sideloadly, andphonedriver ios setup --download-ddimounts the developer disk image itself. Contributed by Coreho (#23). - An iPhone on Wi-Fi from Windows:
phonedriver ios wifi ononce on the cable, then unplug and keep driving the phone over Wi-Fi, as Xcode's "Connect via network" does. Nothing shows on the phone.ios wifi offforgets the pairing. Contributed by Coreho (#29). devicesanswers while a phone is stuck connecting: it no longer waits behind a call to a device that does not answer (seen for over 3 minutes with an iPhone that dropped off Wi-Fi) (#29).- Logins in CI: a saved run replays a
--secretstep from an environment variable (PHONEDRIVER_SECRET_1,_2, ...), so a run that signs in replays unattended in the GitHub Action withenv: PHONEDRIVER_SECRET_1: ${{ secrets.APP_PASSWORD }}. The secret is masked like any other. - Variables in saved runs:
{{name}}in a step is filled byreplay --var name=value(the Action'svarsinput), and{{run}}is a short id new for each replay, for fresh data such astest+{{run}}@example.com. phonedriver networkshows an Android device's networks, which one is the default, a VPN's owning app and the users it covers, DNS per network, and the always-on VPN and lockdown settings.wait vpn:up,wait vpn:downandwait log:<text>(with--app) wait for a VPN to come up or go down, or for a line in the device's log. A timeout says what was last seen. The VPN connection request counts as a system dialog. Asked for in #17.apps notify <app> '<json>'sends an app a push notification on the iOS Simulator, to test how the app handles one.- Your own app on a physical phone:
PHONEDRIVER_APPS_UNDER_TEST=com.example.appin the server's environment letsapps clear,uninstall,grantandrevokework on an app Android Studio installed. devices {use: "<id>"}sets the MCP server's default device for the rest of the session.- An app scope for a real test phone:
PHONEDRIVER_APP_SCOPE=com.example.appkeeps the agent to your app. Other apps' windows are never read, and taps,shell, screenshots and recording are refused while one is on screen. System permission dialogs and the keyboard still work, andpress back,press homeand launching your app get back. It is not a sandbox; the reference lists what it does not cover (#28). - Phones an agent must never touch:
PHONEDRIVER_DENY_DEVICES,PHONEDRIVER_ALLOW_DEVICESor a~/.phonedriver/devicesfile hide a device as if it were not connected. Nothing lists it, probes it or pushes to it, and--forcedoes not get through. A rule can name an Android phone's hardware serial, so it holds over USB and Wi-Fi (#26). doctorasks before touching a phone: without--deviceit checks the host, lists every device, and probes only emulators and Simulators no session is using. For a physical phone it prints the command to probe it, and--all-devicesprobes them all (#27).- Video on Samsung phones: on a Galaxy A53 (One UI 8) no frame ever arrived, so screenshots timed out. The video now goes through an OpenGL relay on Samsung phones and wherever the encoder gives nothing. Found and fixed by DrogaBox (#22).
- A tap under a web page's fixed bottom bar (a tab bar on instagram.com in Chrome) goes to the part of the tile that shows, and
scroll --untilkeeps going until the tile clears the bar (#16). shellon an iOS 26 Simulator works: its runtime has no/bin/sh, so each command now runs as one program (#15).- Replay fails on a failed check: a
shellstep that exits non-zero fails the replay, unless the step expects that status (#13). - Fixes from an outside review (#15, #16, #18, by giulioc84):
savekeeps the steps when the file cannot be written; an empty Compose field no longer reads as"Empty"; the install record on physical phones names only the app that was installed; an MCP session's state ends with its connection;doctornames the devices it will start the agent on; shell time limits, tap counts and holds are bounded; Simulatorapps clearreports what it could not remove; the GitHub Action uses the Simulator it booted (#21); the MCP server's calls get the agent lease (#19); and the daemon's startup cleanup no longer follows a link to a folder (#20).
Install phonedriver 0.1.6
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/hridaya423/phonedriver/releases/download/v0.1.6/phonedriver-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/hridaya423/phonedriver/releases/download/v0.1.6/phonedriver-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install hridaya423/tap/phonedriverDownload phonedriver 0.1.6
| File | Platform | Checksum |
|---|---|---|
| phonedriver-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
| phonedriver-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
| phonedriver-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| phonedriver-aarch64-unknown-linux-gnu.tar.gz | ARM64 Linux | checksum |
| phonedriver-x86_64-unknown-linux-gnu.tar.gz | x64 Linux | checksum |