Skip to content

Commit 94433db

Browse files
committed
fix(ios-runner): keep the text-entry fixture inside the iOS guard so tvOS builds
The burst helper and its status writer sit below the #endif that closes TARGET_OS_IOS, while agentDeviceTextEntryDidChange: compiles for tvOS and calls them, so build:xcuitest:tvos refuses the translation unit and build:package fails before npm publish. No CI lane builds the tvOS or visionOS runner, so the guard stayed broken on main. viewDidLoad creates that fixture only under the same iOS guard, so the helpers belong inside it.
1 parent 476fa32 commit 94433db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apple/runner/AgentDeviceRunner/AgentDeviceRunner/AgentDeviceRunnerApp.m‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ - (void)viewDidAppear:(BOOL)animated {
250250
}
251251
}
252252
}
253-
#endif
254253

255254
// How fast an app that owns this field's value can acknowledge edits: one render per window, passed
256255
// by the test as `--agent-device-text-entry-acknowledge-window <seconds>`. An edit that arrives
@@ -302,6 +301,7 @@ - (void)agentDeviceTextEntryDidChange:(UITextField *)textField {
302301
[textField removeFromSuperview];
303302
}
304303
}
304+
#endif
305305

306306
- (void)viewDidLoad {
307307
[super viewDidLoad];

0 commit comments

Comments
 (0)