File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -19,19 +19,20 @@ Pod::Spec.new do |s|
1919 'CLANG_CXX_LIBRARY' => 'libc++'
2020 }
2121 s . preserve_paths = 'Sentry.xcframework'
22+ s . static_framework = true
2223
2324 # Manually download the Sentry.xcframework and unzip it because we also need the headers for the HybridSDK subspec
2425 s . prepare_command = <<-CMD
25- curl -L "https://github.com/getsentry/sentry-cocoa/releases/download/9.0.0/Sentry.xcframework.zip" -o Sentry.xcframework.zip
26+ curl -L "https://github.com/getsentry/sentry-cocoa/releases/download/9.0.0/Sentry-Dynamic .xcframework.zip" -o Sentry-Dynamic .xcframework.zip
2627
27- export SENTRY_CHECKSUM="e54ed4597496468737e917e7826d90a40ee98f4985554651e32ddfcd82050f27 "
28- shasum -a 256 Sentry.xcframework.zip | awk '{print $1}' | grep "$SENTRY_CHECKSUM"
28+ export SENTRY_CHECKSUM="9e7571fc539a6e6850e3d792a0afc9abe63c75261774da6b99d66f426e0c52f7 "
29+ shasum -a 256 Sentry-Dynamic .xcframework.zip | awk '{print $1}' | grep "$SENTRY_CHECKSUM"
2930 if [ $? -ne 0 ]; then
30- echo "Error: Sentry.xcframework.zip checksum does not match"
31+ echo "Error: Sentry-Dynamic .xcframework.zip checksum does not match"
3132 exit 1
3233 fi
3334
34- unzip -o Sentry.xcframework.zip
35+ unzip -o Sentry-Dynamic .xcframework.zip
3536 CMD
3637
3738 s . default_subspecs = [ 'Core' ]
You can’t perform that action at this time.
0 commit comments