From 81ca5515b86bc78e9c329867cceb96993ad543f3 Mon Sep 17 00:00:00 2001 From: Rick Newton-Rogers Date: Tue, 10 Dec 2024 10:36:59 +0000 Subject: [PATCH] Enable MemberImportVisibility check on all targets --- Package.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Package.swift b/Package.swift index 56e57858..0b61371a 100644 --- a/Package.swift +++ b/Package.swift @@ -189,3 +189,9 @@ let package = Package( ], targets: targets ) + +for target in package.targets { + var settings = target.swiftSettings ?? [] + settings.append(.enableUpcomingFeature("MemberImportVisibility")) + target.swiftSettings = settings +}