From f105769daafeb151c42ef210449c9a0ad2a7a8f9 Mon Sep 17 00:00:00 2001 From: Rick Newton-Rogers Date: Tue, 10 Dec 2024 10:44:00 +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 8520635..b769f9a 100644 --- a/Package.swift +++ b/Package.swift @@ -46,3 +46,11 @@ for target in package.targets { settings.append(.enableExperimentalFeature("StrictConcurrency=complete")) target.swiftSettings = settings } + +for target in package.targets { + if target.type != .plugin { + var settings = target.swiftSettings ?? [] + settings.append(.enableUpcomingFeature("MemberImportVisibility")) + target.swiftSettings = settings + } +}