From 7661b7f495e9d7a5a469b5010115e2eaa12f20f8 Mon Sep 17 00:00:00 2001 From: Rick Newton-Rogers Date: Tue, 10 Dec 2024 10:43:54 +0000 Subject: [PATCH] Enable MemberImportVisibility check on all targets --- Package.swift | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Package.swift b/Package.swift index 575ce46..12822a9 100644 --- a/Package.swift +++ b/Package.swift @@ -30,3 +30,11 @@ let package = Package( ), ] ) + +for target in package.targets { + if target.type != .plugin { + var settings = target.swiftSettings ?? [] + settings.append(.enableUpcomingFeature("MemberImportVisibility")) + target.swiftSettings = settings + } +}