From 36ea692c5a6fd750bf537b3fd978f5000bce1bc5 Mon Sep 17 00:00:00 2001 From: Ernesto Cambuston Date: Tue, 12 May 2026 01:04:57 -0700 Subject: [PATCH] Check if swiftmodule on test bundle support --- apple/internal/testing/apple_test_bundle_support.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apple/internal/testing/apple_test_bundle_support.bzl b/apple/internal/testing/apple_test_bundle_support.bzl index c5b6d43bd3..09ca918070 100644 --- a/apple/internal/testing/apple_test_bundle_support.bzl +++ b/apple/internal/testing/apple_test_bundle_support.bzl @@ -165,7 +165,7 @@ def _apple_test_info_aspect_impl(target, ctx): module_swiftmodules = [ module.swift.swiftmodule for module in all_modules - if module.swift + if module.swift and module.swift.swiftmodule ] swift_modules.append(depset(module_swiftmodules))