[Feature]: Bundle AXe 2.0.x to support the iPhone Duo simulator

未关闭
#575 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
ios, typescript
领域
mobile, tooling

调研方向

Start by reading the .axe-version pin and the AXe command integrations for input, screenshots, and device controls; the issue does not name their file paths. Check how AXe 1.8.0 output is parsed, then compare it with AXe 2.0.x output, including --output json. Done means Duo input and active-screen screenshots work, with hinge and rotation controls exposed; verify the commands against the listed Duo and Xcode setup.

由索引模型根据 Issue 内容生成。

描述

Feature Description

MobileBuildMCP pins AXe 1.8.0 (.axe-version). AXe 2.0.0 (2026-11-11, latest 2.0.4) supports the iPhone Duo simulator. Input, accessibility reads and capture work on whichever screen is active, in any fold and orientation. It also adds axe displays and axe hinge set closed|tabletop|open. The upstream causes of #537 are fixed there: cameroncooke/AXe#74 (taps routed to the cover's touchscreen) and cameroncooke/AXe#71 (first gesture dropped on Xcode 27).

I would like the AI assistant to be able to:

  1. tap, swipe and type on the Duo's active screen, by bumping the bundled AXe to 2.0.x. AXe 2 changed its text output and error format, so the parsing likely needs adapting, possibly with --output json;
  2. take a screenshot of the active display, which today is black while folded. It could use AXe's capture, or resolve the active displayId via devicectl device info displays;
  3. fold, unfold and rotate the device, by exposing axe hinge and axe rotate as tools.
Use Cases
  • Testing an app's layout on the Duo's cover and inner screens, and across the transition between them, without manual steps in Device Hub.
  • Capturing App Store screenshots of both screens.
  • Seen on Xcode 27.2, iPhone Duo with iOS 27.2, XcodeBuildMCP 2.7.0: tap reports success and never lands on the inner screen, and every posture change has to be done by hand.
Example Interactions

You: Unfold the Duo, open the first conversation and take a screenshot of the inner screen.
AI: calls hinge (open), tap on the row, then screenshot, which returns the inner panel.

主要语言
TypeScript
星标
6.6k
派生
329
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

getsentry/MobileBuildMCP 的其他 Issue

查看 getsentry/MobileBuildMCP 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。