From 620e89e67bafe839038f8151d58e76dfde47bf8c Mon Sep 17 00:00:00 2001 From: Rick Newton-Rogers Date: Tue, 10 Dec 2024 10:36:30 +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 af449a7..a8f0961 100644 --- a/Package.swift +++ b/Package.swift @@ -37,3 +37,9 @@ for target in package.targets { settings.append(.enableExperimentalFeature("StrictConcurrency=complete")) target.swiftSettings = settings } + +for target in package.targets { + var settings = target.swiftSettings ?? [] + settings.append(.enableUpcomingFeature("MemberImportVisibility")) + target.swiftSettings = settings +}