forked from ismycho/tun2socks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtun2socks.podspec
More file actions
41 lines (35 loc) · 1.22 KB
/
Copy pathtun2socks.podspec
File metadata and controls
41 lines (35 loc) · 1.22 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
32
33
34
35
36
37
38
39
40
41
Pod::Spec.new do |s|
s.name = "tun2socks"
s.version = "1.0.2"
s.summary = "A lightweight tun2socks client based on lwIP"
s.description = <<-DESC
A tiny wrapper around lwIP and tun2socks for building iOS/macOS apps
with tun2socks functionality. Supports both Swift and C code integration.
DESC
s.homepage = "https://github.com/ismycho/tun2socks"
s.license = { :type => "Apache 2.0", :file => "LICENSE" }
s.author = { "Lex Tang" => "khw0212@hanmail.net" }
s.social_media_url = "https://twitter.com/lexrus"
s.platform = :ios, "13.0"
s.osx.deployment_target = "11.0"
s.swift_version = "5.0"
s.source = { :git => "https://github.com/ismycho/tun2socks.git", :tag => s.version }
# Swift + C source files
s.source_files = [
"tun2socks/**/*.{swift,h,c}",
"lwip/**/*.{h,c}",
"lwip-ios/**/*.h",
"lwip-macOS/**/*.h",
"tun2socks-ios/**/*.h",
"tun2socks-macOS/**/*.h"
]
# Public headers (iOS/macOS specific)
s.public_header_files = [
"lwip-ios/**/*.h",
"lwip-macOS/**/*.h",
"tun2socks-ios/**/*.h",
"tun2socks-macOS/**/*.h"
]
s.frameworks = "Foundation"
s.requires_arc = true
end