fix(apple-runner): keep the keyboard return tap iOS-only
Merged
TH
1h ago+4+4+0123456789-0-0-0123456789
The v0.21.38 release build failed (run 43918681966, Build job): RunnerTests+Keyboard.swift:518: error: tap() is unavailable in tvOS.
#4589 moved the return-control lookup into findKeyboardReturnControl and left tapKeyboardReturnControl calling XCUIElement.tap() on every platform. The original function wrapped that tap in #if os(iOS); this restores the guard. Main CI does not build the tvOS runner, so only the release job caught it.
Validation: local build-for-testing for tvOS and visionOS simulators both report TEST BUILD SUCCEEDED with this change.
🤖 Generated with Claude Code
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.