Drop legacy .podspec (#59)

This commit is contained in:
Davide De Rosa 2023-12-16 13:57:06 +01:00 committed by GitHub
parent 31c401bdf5
commit 026702febc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 25 deletions

View File

@ -25,7 +25,7 @@ jobs:
TAG_NAME=$(get_openssl_version $OPENSSL_VERSION $SCRIPT_VERSION) TAG_NAME=$(get_openssl_version $OPENSSL_VERSION $SCRIPT_VERSION)
echo "Compiling OpenSSL $OPENSSL_VERSION" echo "Compiling OpenSSL $OPENSSL_VERSION"
./build-libssl.sh --cleanup --version="$OPENSSL_VERSION" --disable-bitcode ./build-libssl.sh --cleanup --version="$OPENSSL_VERSION"
echo "tag=$TAG_NAME" >> $GITHUB_OUTPUT echo "tag=$TAG_NAME" >> $GITHUB_OUTPUT
echo "openssl_version=$OPENSSL_VERSION" >> $GITHUB_OUTPUT echo "openssl_version=$OPENSSL_VERSION" >> $GITHUB_OUTPUT

View File

@ -1,24 +0,0 @@
Pod::Spec.new do |s|
openssl_version = "1.1.1l"
openssl_targets = "ios-sim-cross-x86_64 ios-sim-cross-arm64 ios64-cross-arm64 ios64-cross-arm64e macos64-x86_64 macos64-arm64 mac-catalyst-x86_64 mac-catalyst-arm64"
script_version = "11"
s.name = "OpenSSL-Apple"
s.version = "#{openssl_version}.#{script_version}"
s.summary = "A script for compiling OpenSSL for Apple Devices"
s.authors = "Felix Schulze", "Davide De Rosa", "Ezat Hashim"
s.homepage = "https://github.com/keeshux/openssl-apple.git"
s.source = { :git => s.homepage.to_s, :tag => "v#{script_version}" }
s.license = { :type => 'Apache', :file => 'LICENSE' }
s.prepare_command = <<-CMD
./build-libssl.sh --version="#{openssl_version}" --targets="#{openssl_targets}" --disable-bitcode
./create-openssl-framework.sh dynamic
CMD
s.ios.deployment_target = "12.0"
s.osx.deployment_target = "10.15"
s.vendored_frameworks = "frameworks/openssl.xcframework"
s.requires_arc = false
end