refactor(ios-runner): drop the XCTest tap fallback on simulators
Summary
A simulator tap is only its touchscreen HID contact (#5350). When that contact cannot be prepared or never goes down, the tap answers UNSUPPORTED_OPERATION with the HID reason and one shared hint (restart the simulator, then rebuild the runner), and sends nothing: no XCTest event record, no xctest-coordinate-tap fallback. The refusal is a typed RunnerGestureRefusedWithoutFallback that performSynthesizedGesture (and alert activation) answers before any fallback policy. Physical devices keep the XCTest record and its fallback. ADR 0011's simulator amendment is updated.
Consequence: on a simulator whose display size is unreadable (#4091), a portrait tap now refuses instead of dispatching through the XCTest record.
Value
- Simulator tap routes: 2 (HID, XCTest record) ā 1.
- XCTest tap-synthesis stubs in unit tests: 4 ā 0; tests stub
RunnerSimulatorTouchpreparation and a recording prepared touch instead. - Cross-app check before this change: 333/333 taps took the HID route, 0 unavailable.
Validation
At 7314eaa, on a fresh iPhone 17 Pro iOS 27.0 simulator: pnpm build:xcuitest:ios with unit tests, then xcodebuild test-without-building for the 47 tests that use the changed stubs (all of RunnerRequestPanelTests, SynthesizedTapContextTests, and the reworked alert, command, sequence and #4091 tests): Executed 47 tests, with 1 test skipped and 0 failures (the skip is the host-dependent placed-window case). CI owns the remaining gates.
š¤ Generated with Claude Code

Open in [code]smith Ā· Need help on this PR? Tag @codesmith-bot with what you need.