From 0908fa59399ba828ec044814141ac35980cc74c2 Mon Sep 17 00:00:00 2001 From: Jordan Rose Date: Thu, 12 Nov 2020 11:03:28 -0800 Subject: [PATCH] Swift: preserve files needed for the Rust build in podspec --- SignalClient.podspec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/SignalClient.podspec b/SignalClient.podspec index 33381f01..1b6c75f5 100644 --- a/SignalClient.podspec +++ b/SignalClient.podspec @@ -18,7 +18,15 @@ Pod::Spec.new do |s| s.osx.deployment_target = '10.9' s.source_files = 'swift/Sources/**/*.swift' - s.preserve_paths = ['rust/*', 'Cargo.toml', 'Cargo.lock', 'swift/Sources/SignalFfi', 'bin/*'] + s.preserve_paths = [ + 'bin/*', + 'Cargo.toml', + 'Cargo.lock', + 'rust-toolchain', + 'rust/*', + 'swift/*.sh', + 'swift/Sources/SignalFfi', + ] s.pod_target_xcconfig = { 'CARGO_BUILD_TARGET_DIR' => '$(DERIVED_FILE_DIR)/libsignal-ffi',