From c4a8889baf654c19f13d03352e3b641b2059a6ea Mon Sep 17 00:00:00 2001 From: Rick Newton-Rogers Date: Tue, 10 Dec 2024 10:43:35 +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 f1eb2a1..9487b93 100644 --- a/Package.swift +++ b/Package.swift @@ -131,3 +131,11 @@ let package = Package( dependencies: dependencies, targets: targets ) + +for target in package.targets { + if target.type != .plugin { + var settings = target.swiftSettings ?? [] + settings.append(.enableUpcomingFeature("MemberImportVisibility")) + target.swiftSettings = settings + } +}