openssl-apple/OpenSSL-Apple.podspec

25 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2020-10-31 00:32:11 +00:00
Pod::Spec.new do |s|
2021-09-15 08:44:51 +00:00
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"
2021-03-02 13:49:24 +00:00
script_version = "11"
2020-10-31 00:32:11 +00:00
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
2020-10-31 00:32:11 +00:00
./create-openssl-framework.sh dynamic
CMD
2020-11-11 23:29:54 +00:00
s.ios.deployment_target = "12.0"
s.osx.deployment_target = "10.15"
s.vendored_frameworks = "frameworks/openssl.xcframework"
2020-10-31 00:32:11 +00:00
s.requires_arc = false
end