[Bug]: tap on an iOS 27 toolbar button reports success but does nothing; touch down/up works
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 56/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- ios, typescript
調査の方向性
Trace the tap UI automation entry point and how it chooses the simulator tap style, then compare it with the touch path that activates the toolbar button. Reproduce on an iOS 27.2 simulator using the reported SwiftUI screen and elementRef e15. Done means a toolbar button tap activates the action or reports failure when it does not.
索引モデルが issue の本文から書いたものです。
説明
Bug Description
On an iOS 27.2 simulator, tap on a navigation bar toolbar button (SwiftUI ToolbarItem with .confirmationAction) reports success but the button is not activated. touch (down + up) on the same elementRef does activate it.
This looks like the same root cause as #569 (default AXe tap style automatic -> FBSimulator tapAt not activating the control on iOS 27), but it is not limited to tab bar items: it also affects a plain toolbar Button. So tap is unreliable on iOS 27 for more than tab bars, and it reports SUCCEEDED anyway.
Reproduction
A minimal SwiftUI screen with a NavigationStack, a Form, and a toolbar Button("Save") whose action shows a validation message ("Enter a name.") when the name field is empty.
- Build and launch on an iOS 27.2 simulator.
snapshot_uilists the button ase15|tap|button|Save||.tapwithelementRef: "e15"->Tap on elementRef e15 simulated successfully.screenshot: nothing changed, no validation message.touchwithelementRef: "e15",down: true,up: true-> reported as executed.screenshot: the validation message "Enter a name." is now visible, so the button was activated.
CLI equivalents (run from the project directory, same simulator):
mobilebuildmcp ui-automation snapshot-ui --simulator-id <UDID>
mobilebuildmcp ui-automation tap --simulator-id <UDID> --element-ref e15 # no effect
mobilebuildmcp ui-automation touch --simulator-id <UDID> --element-ref e15 --down --up # works
Expected
tap on a toolbar button activates it, or does not report success when nothing was activated. As in #569, using the physical touch path for automatic mode, or exposing a tapStyle option, would unblock callers.
Additional notes
touchis a usable workaround for callers that know about it, but thetaptool description andnextStepssteer agents totap, so they conclude that "taps do not work" or that the UI is broken.- Separate and not reproduced again: right after launching the app, a first
snapshot_uifailed once withTimed out creating the simulator remote automation session. The same call succeeded a few minutes later without any other change, so it looks transient.
Debug Output (mobilebuildmcp-doctor, redacted output)
Server Version: 2.7.1
platform: darwin, release: 27.2.0, arch: arm64, Apple M1 Pro, 16 GB
Xcode 27.2 - Build version 27B52
axe: 1.8.0
UI Automation Supported: Yes
Simulator Video Capture Supported (AXe >= 1.1.0): Yes
Node.js: v26.2.0
Debugger backend: dap (lldb-dap available)
Editor/Client
Claude Code 2.1.318
MCP Server Version
2.7.1 (Homebrew), also run via CLI
LLM
Claude Sonnet 5.5
MCP Configuration
{
"mcpServers": {
"mobilebuild": { "command": "mobilebuildmcp", "args": ["mcp"] }
}
}
- 主要言語
- TypeScript
- スター
- 6.6k
- フォーク
- 329
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/MobileBuildMCP のほかの issue
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
getsentry/MobileBuildMCP#576 ·
-
Warden weekly sweepオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
getsentry/MobileBuildMCP#495 ·
-
難易度 3/5 半日 初心者へのやさしさ 42/100
getsentry/MobileBuildMCP#577 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
getsentry/MobileBuildMCP#575 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
getsentry/MobileBuildMCP#573 ·
getsentry/MobileBuildMCP の issue をすべて見る
似ている issue
-
Release utils decode git output chunk by chunk, so a multi-byte character can turn into U+FFFD対応中かも @goranai が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 2 日以内に返信
-
Task retarget keeps the old host in task scope and adds the new host in a form that matches nothing対応中かも @chaitanya0305 が今日担当しました。 オープンbug P2
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
BaaRai/ARTEX#652 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
compiler-explorer/compiler-explorer#9710 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
test(web): RevealArtwork's warm tests flake on CI because a 0 ms idle timeout means no deadlineオープンbug effort:S P3
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nightscout/nocturne#4556 ·
メンテナーはふだん 1 日以内に返信