diff --git a/apple/internal/rule_attrs.bzl b/apple/internal/rule_attrs.bzl index 631edf2d33..a501b8237b 100644 --- a/apple/internal/rule_attrs.bzl +++ b/apple/internal/rule_attrs.bzl @@ -170,17 +170,6 @@ def _j2objc_binary_linking_attrs(*, deps_cfg): cfg = "exec", default = Label("@bazel_tools//tools/objc:j2objc_dead_code_pruner_binary"), ), - # xcrunwrapper is no longer used by rules_apple, but the underlying implementation of - # apple_common.link_multi_arch_binary and j2objc_dead_code_pruner require this attribute. - # See CompilationSupport.java: - # - `registerJ2ObjcDeadCodeRemovalActions()` - # - `registerLinkActions()` --> `registerBinaryStripAction()` - # TODO(b/117932394): Remove this attribute once Bazel no longer uses xcrunwrapper. - "_xcrunwrapper": attr.label( - cfg = "exec", - executable = True, - default = Label("@bazel_tools//tools/objc:xcrunwrapper"), - ), } def _static_library_linking_attrs(*, deps_cfg):