From f8a60cb2e4307c978f39658fda8c33a2a22fa76b Mon Sep 17 00:00:00 2001 From: Dan Federman Date: Tue, 7 Jan 2025 16:00:02 -0800 Subject: [PATCH] Preserve all sources and tests folders in Podspec --- SafeDI.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SafeDI.podspec b/SafeDI.podspec index 0cdfda27..8c409090 100644 --- a/SafeDI.podspec +++ b/SafeDI.podspec @@ -14,7 +14,7 @@ Pod::Spec.new do |s| s.visionos.deployment_target = '1.0' s.source_files = 'Sources/SafeDI/**/*.{swift}' - s.preserve_paths = 'Package.swift', 'Sources/SafeDIMacros', 'Sources/SafeDICore' + s.preserve_paths = 'Package.swift', 'Sources/', 'Tests/' # The below scripts and flags were inspired by https://soumyamahunt.medium.com/support-swift-macros-with-cocoapods-3911f9317042 script = <<-SCRIPT.squish