From 403209b8183c8d87720de6cff0e1f403cee10737 Mon Sep 17 00:00:00 2001 From: digitalMoksha Date: Sun, 16 Jan 2022 14:53:09 -0600 Subject: [PATCH] Preserve the `Entitlements` directory in podspec (#2062) In order to code sign Sparkle when installing via a Pod, the `Entitlements` directory needs to be available. --- Sparkle.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sparkle.podspec b/Sparkle.podspec index b460b9a1..1973346a 100644 --- a/Sparkle.podspec +++ b/Sparkle.podspec @@ -22,7 +22,7 @@ Pod::Spec.new do |s| s.source = { :http => "https://github.com/sparkle-project/Sparkle/releases/download/#{s.version}/Sparkle-#{s.version}.tar.xz" } s.source_files = 'Sparkle.framework/Versions/B/Headers/*.h' - s.preserve_paths = ['bin/*', 'Symbols'] + s.preserve_paths = ['bin/*', 'Entitlements', 'Symbols'] s.public_header_files = 'Sparkle.framework/Versions/B/Headers/*.h' s.vendored_frameworks = 'Sparkle.framework' s.xcconfig = {