-
Notifications
You must be signed in to change notification settings - Fork 43
/
Simperium-OSX.podspec
46 lines (39 loc) · 1.53 KB
/
Simperium-OSX.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
Pod::Spec.new do |s|
s.name = "Simperium-OSX"
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.osx.deployment_target = '10.13'
s.source_files = 'Simperium/*.{h,m}', 'Simperium-OSX/*.{h,m}'
# 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 "SocketRocket" 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