-
Notifications
You must be signed in to change notification settings - Fork 43
/
Simperium.podspec
50 lines (42 loc) · 1.69 KB
/
Simperium.podspec
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
42
43
44
45
46
47
48
49
50
Pod::Spec.new do |s|
s.name = "Simperium"
s.version = File.read("Simperium/SPEnvironment.m").split("NSString* const SPLibraryVersion = @\"").last.split("\"").first
s.summary = "Simperium libraries."
s.description = "Simperium is a simple way for developers to move data as it changes, instantly and automatically."
s.homepage = "https://github.com/Simperium/simperium-ios"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "Simperium" => "[email protected]" }
# Sources
#
s.source = { :git => "https://github.com/Simperium/simperium-ios.git", :tag => "v" << s.version.to_s }
s.ios.deployment_target = '11.0'
s.source_files = 'Simperium/*.{h,m}', 'Simperium-iOS/**/*.{h,m}'
# Frameworks
#
s.frameworks = 'Security', 'CoreServices', 'CoreData', 'CFNetwork', 'SystemConfiguration', 'Foundation', 'UIKit', 'CoreGraphics', 'WebKit'
# Settings
s.requires_arc = true
# Subspecs: DiffMatchPatch
s.subspec "DiffMatchPach" do |dmp|
dmp.source_files = "External/diffmatchpatch/*.{h,c,m}"
dmp.requires_arc = false
dmp.compiler_flags = '-fno-objc-arc'
end
# Subspecs: JRSwizzle
s.subspec "JRSwizzle" do |jrs|
jrs.source_files = "External/jrswizzle/*.{h,m}"
end
# Subspecs: SocketRocket + TrustKit
s.subspec "SocketTrust" do |sr|
sr.source_files = "External/SocketRocket/*.{h,m}", "External/TrustKit/TrustKit/**/*.{h,m}"
sr.libraries = "icucore"
end
# Subspecs: SPReachability
s.subspec "SPReachability" do |spr|
spr.source_files = "External/SPReachability/*.{h,m}"
end
# Subspecs: SSKeychain
s.subspec "SSKeychain" do |ssk|
ssk.source_files = "External/SSKeychain/*.{h,m}"
end
end