diff --git a/apple/internal/aspects/framework_provider_aspect.bzl b/apple/internal/aspects/framework_provider_aspect.bzl index 6758504567..89b48dfa8b 100644 --- a/apple/internal/aspects/framework_provider_aspect.bzl +++ b/apple/internal/aspects/framework_provider_aspect.bzl @@ -36,6 +36,9 @@ _FRAMEWORK_PROVIDERS_ASPECT_ATTRS = [ "implementation_deps", "private_deps", "runtime_deps", + # rules_swift `mixed_language_target` + "clang_target", + "swift_target", ] def _framework_provider_aspect_impl(target, ctx): diff --git a/apple/internal/aspects/resource_aspect.bzl b/apple/internal/aspects/resource_aspect.bzl index 41f7597da2..7cfb1e6f93 100644 --- a/apple/internal/aspects/resource_aspect.bzl +++ b/apple/internal/aspects/resource_aspect.bzl @@ -430,6 +430,9 @@ apple_resource_aspect = aspect( "private_deps", "structured_resources", "resources", + # rules_swift `mixed_language_target` + "clang_target", + "swift_target", ], attrs = dicts.add( apple_support.action_required_attrs(),