-
Notifications
You must be signed in to change notification settings - Fork 109
Expand file tree
/
Copy pathTun2SocksKit.podspec
More file actions
31 lines (27 loc) · 1.1 KB
/
Tun2SocksKit.podspec
File metadata and controls
31 lines (27 loc) · 1.1 KB
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
26
27
28
29
30
31
Pod::Spec.new do |s|
s.name = 'Tun2SocksKit'
s.version = '5.14.4'
s.summary = 'Wrapper for hev-socks5-tunnel.'
s.homepage = 'https://github.com/EbrahimTahernejad/Tun2SocksKit'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Ebrahim Tahernejad' => 'ebrahimtahernejad@gmail.com' }
s.source = { :http => 'https://github.com/EbrahimTahernejad/Tun2SocksKit/releases/download/5.14.4/CocoapodsSource.zip' }
s.static_framework = true
s.ios.deployment_target = '12.0'
s.osx.deployment_target = '12.0'
s.requires_arc = true
s.swift_versions = ['5.7', '5.8', '5.9']
s.default_subspec = 'Core'
s.subspec 'HevSocks5Tunnel' do |hs|
hs.vendored_frameworks = 'HevSocks5Tunnel.xcframework'
end
# === Subspec: Swift wrapper (Tun2SocksKit)
s.subspec 'Core' do |ss|
ss.source_files = 'Sources/Tun2SocksKit/**/*.{swift,h}'
ss.public_header_files = 'Sources/Tun2SocksKit/Tun2SocksKitC.h'
ss.dependency 'Tun2SocksKit/HevSocks5Tunnel'
ss.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES'
}
end
end