Skip to content

v0.3.8

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 17:10
· 4 commits to main since this release
044ca91

English

Faster iOS 27 native control and HEVC visual settling, offline device selection, MCP device-switch guard, and turned iPad fixes.

New

  • iphone-control select <UDID> and iphone_select_device now accept a known or paired offline device's UDID (such as a sleeping Wi-Fi iPhone), persisting the selection and taking over automatically as soon as it comes online (#264).

Improvements

  • Actions with then=screenshot on games, maps and other visually settled screens now reuse the final settled frame instead of capturing a second full-screen screenshot (#264).
  • On iOS 27 and later, consecutive taps and swipes in games, maps and other screens with few accessibility elements settle noticeably faster without reconnecting the accessibility service or re-walking the empty tree on every move (#264).
  • On iOS 27 and later, visual settling in games, maps and animations is noticeably faster when ffmpeg is installed, using the already-open screen video stream instead of polling full-screen PNG screenshots (falling back automatically when ffmpeg isn't available) (#265).
  • On iOS 27 and later, launching apps, pressing Home, swiping, typing and reusing then=screenshot frames are faster across back-to-back actions and longer pauses between AI turns (#265).
  • Idle HID and accessibility sessions now stay open longer between AI turns (120 s and 180 s by default) to avoid repeatedly rebuilding the screen media stream; set IPHONE_CONTROL_HID_IDLE_SECS (10–3600) to adjust the HID idle timeout (#264).
  • Device switches (select and select auto) now record the caller source (cli, mcp, or viewer) and peer PID in the daemon event log (#264).
  • MCP sessions now remember the last controlled device and refuse to send blind taps, swipes, or other actions if the daemon was switched to a different device externally, until the agent inspects the new device or explicitly calls iphone_select_device (#264).

Fixes

  • On an iPad held in landscape or upside down, iOS 27 native control now reads the home screen, lock screen and Touch ID prompt in screen coordinates: auto-unlock works again and iphone_tap_element hits home-screen icons (#259).

中文

iOS 27 原生控制与 HEVC 画面判稳大幅提速,新增离线设备预选与 MCP 跨设备防误点保护,并修复 iPad 横屏坐标。

新功能

  • iphone-control select <UDID> 与 iphone_select_device 现支持按 UDID 预选已配对或历史已知的离线设备(如休眠中的 Wi-Fi iPhone),设备一上线即自动接管(#264)。

改进

  • 游戏、地图等按画面判稳的界面带 then=screenshot 时,现在直接复用判稳结束那一帧,不再多拉一次整屏截图(#264)。
  • iOS 27 及以上在游戏、地图等几乎没有无障碍元素的界面里连续点击、滑动时,界面判稳明显变快:不再每步重连无障碍服务并重复遍历空树(#264)。
  • iOS 27 及以上在安装 ffmpeg 时,游戏、地图和动画界面的画面判稳明显提速:直接复用已打开的屏幕视频流判稳,不再反复拉取整屏 PNG 截图(未安装 ffmpeg 时自动回退)(#265)。
  • iOS 27 及以上在启动 App、按 Home、滑动、输入以及 then=screenshot 复用缓存帧时响应更快,连续操作与较长思考间隙的额外连接开销更低(#265)。
  • 原生控制下 HID 与无障碍会话的默认空闲关闭时间延长至 120 秒和 180 秒,减少 AI 思考间隙反复重建屏幕媒体流;可通过 IPHONE_CONTROL_HID_IDLE_SECS(10~3600)按需调整 HID 空闲时间(#264)。
  • 每次切换设备及 select auto 现在都会在守护进程事件日志里记录发起方(cli、mcp、viewer)和进程号,便于排查设备被谁切走(#264)。
  • MCP 会话现在会记住上一次操作的设备:当守护进程在外部被切到另一台设备时,会在发往手机前拦截盲目点击、滑动等操作并提示先查看新设备或显式调用 iphone_select_device,避免跨设备误点(#264)。

修复

  • iPad 横放或倒过来放时,iOS 27 原生控制现在按屏幕坐标读主屏、锁屏和触控 ID 弹窗:自动解锁恢复可用,iphone_tap_element 也点得中主屏上的图标(#259)。

Binaries / 二进制: macOS macos-arm64 (11+, Apple Silicon), macos-x86_64 (11+, Intel) · Linux linux-x86_64, linux-aarch64 (glibc 2.34+) · .deb amd64, arm64 (Debian 12+, Ubuntu 22.04+)

  • Script / 脚本: curl -fsSL https://github.com/Derrors/iphone-control/releases/download/v0.3.8/install.sh | sh
  • Homebrew: brew install Derrors/tap/iphone-control
  • Debian / Ubuntu: sudo apt install ./iphone-control_0.3.8_amd64.deb (or / 或 _arm64.deb)

Already installed? Run iphone-control update. / 已安装的运行 iphone-control update 升级。