Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cocoapods/CLOpenSSL.podspec.template
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ EOF
done
EOF

# Tell CocoaPods that the frameworks we publish are "static frameworks".
# This ensures correct resolution of transitive dependencies.
s.static_framework = true

# Set the minimum platform versions. We just know the right ones from the
# prebuilt frameworks we download.
s.ios.deployment_target = min_target_ios
Expand Down
8 changes: 4 additions & 4 deletions scripts/update-specs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ sed -e "s/%%OPENSSL_VERSION%%/$version/g" \
-e "s!%%GITHUB_REPO%%!$GITHUB_REPO!g" \
-e "s/%%MIN_IOS_SDK%%/$MIN_IOS_SDK/g" \
-e "s/%%MIN_OSX_SDK%%/$MIN_OSX_SDK/g" \
-e "s/%%IPHONE_ARCHIVE_NAME%%/$IPHONE_DYNAMIC_NAME/g" \
-e "s/%%IPHONE_ARCHIVE_HASH%%/$(shasum -a 256 "$OUTPUT/$IPHONE_DYNAMIC_NAME" | awk '{print $1}')/g" \
-e "s/%%MACOSX_ARCHIVE_NAME%%/$MACOSX_DYNAMIC_NAME/g" \
-e "s/%%MACOSX_ARCHIVE_HASH%%/$(shasum -a 256 "$OUTPUT/$MACOSX_DYNAMIC_NAME" | awk '{print $1}')/g" \
-e "s/%%IPHONE_ARCHIVE_NAME%%/$IPHONE_STATIC_NAME/g" \
-e "s/%%IPHONE_ARCHIVE_HASH%%/$(shasum -a 256 "$OUTPUT/$IPHONE_STATIC_NAME" | awk '{print $1}')/g" \
-e "s/%%MACOSX_ARCHIVE_NAME%%/$MACOSX_STATIC_NAME/g" \
-e "s/%%MACOSX_ARCHIVE_HASH%%/$(shasum -a 256 "$OUTPUT/$MACOSX_STATIC_NAME" | awk '{print $1}')/g" \
$podspec.template > $podspec
echo "Updated $podspec"
echo