From ed5ab64f477283949c0d334368f25d352234d21c Mon Sep 17 00:00:00 2001 From: Rick Newton-Rogers Date: Tue, 10 Dec 2024 10:36:20 +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 575ce46..52c0879 100644 --- a/Package.swift +++ b/Package.swift @@ -30,3 +30,9 @@ let package = Package( ), ] ) + +for target in package.targets { + var settings = target.swiftSettings ?? [] + settings.append(.enableUpcomingFeature("MemberImportVisibility")) + target.swiftSettings = settings +}