forked from partout-io/openssl-apple
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOpenSSL-Apple.podspec
More file actions
25 lines (21 loc) · 996 Bytes
/
OpenSSL-Apple.podspec
File metadata and controls
25 lines (21 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Pod::Spec.new do |s|
openssl_version = "1.1.1b"
s.name = "OpenSSL-Apple"
s.version = "#{openssl_version}"
s.summary = "A script for compiling OpenSSL for Apple Devices"
s.authors = "Felix Schulze", "Davide De Rosa"
s.homepage = "https://github.com/keystore-com/openssl-apple.git"
s.source = { :git => s.homepage.to_s, :tag => "master" }
s.license = { :type => 'Apache', :file => 'LICENSE' }
s.prepare_command = <<-CMD
./build-libssl.sh --version=#{openssl_version}
./create-openssl-framework.sh static
CMD
s.ios.deployment_target = "10.0"
s.ios.vendored_frameworks = "frameworks/iPhone/openssl.framework"
s.tvos.deployment_target = "10.0"
s.tvos.vendored_frameworks = "frameworks/AppleTV/openssl.framework"
s.osx.deployment_target = "10.11"
s.osx.vendored_frameworks = "frameworks/MacOSX/openssl.framework"
s.requires_arc = false
end