You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
prebuilt: apple_ops, simulator hooks and apple_post_action run from dx (part of #13154) #13772
apple/private/tools/ops/BUILD.bazel:46-71: the apple_ops, create_test_simulator and delete_test_simulator binaries. dx_apple_ops is incompatible with Windows (:27-30).
Run-time launchers: apple/private/ios/simulator.bzl:16-66 (arg=simctl descriptor) and apple/private/ios/device.bzl:54.
rules_apple ios_xctestrun_runner hooks, which are run by path with no arguments: apple/private/ios/app.bzl:690-695 (create_simulator_action, clean_up_simulator_action, and post_action = //tools/coverage/collect:apple_post_action, at tools/coverage/collect/BUILD.bazel:51-73).
Fix
Exec actions run dx apple_ops <op> from @dx_prebuilt//:dx. dx links dx_apple_ops behind a select that drops it on Windows, and the Tool arm is cfg(not(windows)).
Next slice: #13896 lands the dx-runtime target-config helpers (#13771). This issue is next: exec actions run dx apple_ops <op> behind a non-Windows select, simulator.bzl/device.bzl launchers go through dx-runtime, and the xctestrun hooks wait on the argv[0] shim from #13770, which is still open.
Next slice: #14073 moves the exec actions to dx apple_ops and the launchers to dx-runtime. What remains is to move the xctestrun hooks (create_test_simulator, delete_test_simulator, apple_post_action) onto the argv[0] shim once #13770 lands, then delete those binaries.
Evidence for PR #14217 (merged): run 44722623751 (task=test, macos_arm64, swift_app) passed, so the create and delete hooks work as dx_subcommand launchers. Run 44722628149 (task=coverage) failed earlier, at the app link (___llvm_profile_runtime undefined), before any hook ran. That failure is tracked in #14225, and the coverage path through dx apple_post_action is re-proved there.
Activity
TrapsterDK commentedon Nov 19, 2026
Next slice: #13896 lands the dx-runtime target-config helpers (#13771). This issue is next: exec actions run
dx apple_ops <op>behind a non-Windowsselect,simulator.bzl/device.bzllaunchers go through dx-runtime, and the xctestrun hooks wait on the argv[0] shim from #13770, which is still open.Generated by Claude Code
TrapsterDK commentedon Nov 19, 2026
Next slice: #14073 moves the exec actions to
dx apple_opsand the launchers to dx-runtime. What remains is to move the xctestrun hooks (create_test_simulator,delete_test_simulator,apple_post_action) onto the argv[0] shim once #13770 lands, then delete those binaries.Generated by Claude Code
prebuilt: apple_ops runs from dx and dx-runtime (part of #13772) (#14073
TrapsterDK commentedon Nov 20, 2026
Evidence for PR #14217 (merged): run 44722623751 (task=test, macos_arm64, swift_app) passed, so the create and delete hooks work as dx_subcommand launchers. Run 44722628149 (task=coverage) failed earlier, at the app link (___llvm_profile_runtime undefined), before any hook ran. That failure is tracked in #14225, and the coverage path through
dx apple_post_actionis re-proved there.