2018-08-23 10:06:47 +00:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
s.name = "TunnelKit"
|
2019-03-18 21:51:20 +00:00
|
|
|
s.version = "1.5.0"
|
2018-09-09 00:55:13 +00:00
|
|
|
s.summary = "Non-official OpenVPN client for Apple platforms."
|
2018-08-23 10:06:47 +00:00
|
|
|
|
2018-09-07 22:11:08 +00:00
|
|
|
s.homepage = "https://github.com/keeshux/tunnelkit"
|
2018-08-23 10:06:47 +00:00
|
|
|
s.license = { :type => "GPLv3", :file => "LICENSE" }
|
|
|
|
s.author = { "Davide De Rosa" => "keeshux@gmail.com" }
|
2018-09-07 22:11:08 +00:00
|
|
|
s.source = { :git => "https://github.com/keeshux/tunnelkit.git", :tag => "v#{s.version}" }
|
2018-09-24 12:41:35 +00:00
|
|
|
s.swift_version = "4.2"
|
2018-08-23 10:06:47 +00:00
|
|
|
|
2018-09-26 08:41:59 +00:00
|
|
|
s.ios.deployment_target = "11.0"
|
2018-08-23 10:06:47 +00:00
|
|
|
s.osx.deployment_target = "10.11"
|
|
|
|
|
2019-03-19 13:34:49 +00:00
|
|
|
s.default_subspecs = "Core", "AppExtension"
|
|
|
|
|
2018-08-23 10:06:47 +00:00
|
|
|
s.subspec "Core" do |p|
|
|
|
|
p.source_files = "TunnelKit/Sources/Core/**/*.{h,m,swift}"
|
|
|
|
p.private_header_files = "TunnelKit/Sources/Core/**/*.h"
|
|
|
|
p.preserve_paths = "TunnelKit/Sources/Core/*.modulemap"
|
2019-02-25 21:53:26 +00:00
|
|
|
p.pod_target_xcconfig = { "OTHER_LDFLAGS" => "-framework openssl",
|
|
|
|
"SWIFT_INCLUDE_PATHS" => "${PODS_TARGET_SRCROOT}/TunnelKit/Sources/Core",
|
2018-08-23 10:06:47 +00:00
|
|
|
"APPLICATION_EXTENSION_API_ONLY" => "YES" }
|
|
|
|
p.dependency "SwiftyBeaver"
|
2019-02-23 21:31:15 +00:00
|
|
|
p.dependency "OpenSSL-Apple", "~> 1.1.0i.2"
|
2018-08-23 10:06:47 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec "AppExtension" do |p|
|
|
|
|
p.source_files = "TunnelKit/Sources/AppExtension/**/*.swift"
|
|
|
|
p.frameworks = "NetworkExtension"
|
|
|
|
p.pod_target_xcconfig = { "APPLICATION_EXTENSION_API_ONLY" => "YES" }
|
|
|
|
|
|
|
|
p.dependency "TunnelKit/Core"
|
|
|
|
p.dependency "SwiftyBeaver"
|
|
|
|
end
|
2019-03-19 13:34:49 +00:00
|
|
|
|
|
|
|
s.subspec "LZO" do |p|
|
|
|
|
p.source_files = "TunnelKit/Sources/Core/LZO.h",
|
|
|
|
"TunnelKit/Sources/Core/Errors.{h,m}",
|
|
|
|
"TunnelKit/Sources/LZO/**/*.{h,m,c}"
|
|
|
|
p.private_header_files = "TunnelKit/Sources/Core/LZO.h",
|
|
|
|
"TunnelKit/Sources/LZO/lib/*.h"
|
|
|
|
p.pod_target_xcconfig = { "APPLICATION_EXTENSION_API_ONLY" => "YES" }
|
|
|
|
end
|
2018-08-23 10:06:47 +00:00
|
|
|
end
|