Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5700209bda3315d69a0751325bebdf3eca41c07a
https://github.com/WebKit/WebKit/commit/5700209bda3315d69a0751325bebdf3eca41c07a
Author: Robert Jenner <[email protected]>
Date: 2026-09-09 (Wed, 09 Sep 2026)
Changed paths:
M Tools/Scripts/webkitpy/xcode/simulated_device.py
M Tools/Scripts/webkitpy/xcode/simulated_device_unittest.py
Log Message:
-----------
Add Device Hub.app for use in simulated_device.py for Xcode 27 and later
https://bugs.webkit.org/show_bug.cgi?id=323691
rdar://186950257
Reviewed by Jonathan Bedard.
As of Xcode 27 the simulator.app was replaced with the device hub.app.
This change assumes the new default of using the device hub.app. But,
takes into account if Xcode 26 or older is being used, and opts to use
the Simulator.app when running tests and spawning simulated devices for
Xcode 26 and older use cases.
* Tools/Scripts/webkitpy/xcode/simulated_device.py:
(SimulatedDeviceManager):
(SimulatedDeviceManager._find_simulator_ui_app):
(SimulatedDeviceManager._launch_simulator_ui):
(SimulatedDeviceManager.initialize_devices):
(SimulatedDeviceManager.tear_down):
* Tools/Scripts/webkitpy/xcode/simulated_device_unittest.py:
(SimulatedDeviceTest.reset_simulated_device_manager):
(LaunchdConfigurationDefaultTest.test_daemons_testing_needs_are_not_disabled):
(SimulatorUIAppTest):
(SimulatorUIAppTest._host):
(SimulatorUIAppTest._host.run_command):
(SimulatorUIAppTest.setUp):
(SimulatorUIAppTest.tearDown):
(SimulatorUIAppTest.test_xcode_27_resolves_to_device_hub):
(SimulatorUIAppTest.test_xcode_26_resolves_to_simulator):
(SimulatorUIAppTest.test_xcode_without_a_ui_app_resolves_to_nothing):
(SimulatorUIAppTest.test_device_hub_is_launched_without_pasteboard_arguments):
(SimulatorUIAppTest.test_simulator_is_launched_with_pasteboard_sync_disabled):
(SimulatorUIAppTest.test_the_app_is_never_launched_by_bundle_identifier):
(SimulatorUIAppTest.test_an_already_running_app_is_not_launched_again):
(SimulatorUIAppTest.test_a_failed_launch_is_not_torn_down):
(SimulatorUIAppTest.test_tear_down_kills_the_app_which_was_launched):
Canonical link: https://commits.webkit.org/320774@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications