-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathTokenCoreDep.podspec
45 lines (36 loc) · 1.34 KB
/
TokenCoreDep.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
Pod::Spec.new do |s|
s.name = "TokenCoreDep"
s.version = "0.0.1"
s.summary = "The libraries token core need"
s.description = <<-DESC
The libaray contains the CoreBitcoin and libscrypt.
DESC
s.homepage = "https://token.im"
s.license = {
type: "Apache License, Version 2.0",
file: "LICENSE"
}
s.platform = :ios, "9.0"
s.source = { :git => "[email protected]:consenlabs/token-core-ios-dep.git", :tag => "#{s.version}" }
# s.source_files = "CoreBitcoin/*.{h,m,c}", "libscrypt/*.{h,m,c}"
# s.exclude_files = ['*+Tests.{h,m}']
# s.requires_arc = true
# s.framework = 'Foundation'
# s.ios.framework = 'UIKit'
# s.osx.framework = 'AppKit'
# s.dependency "TokenCoreDep/OpenSSL-1.0.2"
s.requires_arc = true
s.subspec 'EmbededOpenSSL' do |ssl|
ssl.pod_target_xcconfig = {'ENABLE_BITCODE' => 'NO', 'APPLICATION_EXTENSION_API_ONLY' => 'YES'}
ssl.ios.vendored_frameworks = 'OpenSSL_1_0_2/bin/openssl_1_0_2.framework'
end
s.subspec 'Core' do |ss|
ss.source_files = "CoreBitcoin/*.{h,m,c}", "libscrypt/*.{h,m,c}"
ss.exclude_files = ['*+Tests.{h,m}']
ss.framework = 'Foundation'
ss.ios.framework = 'UIKit'
ss.osx.framework = 'AppKit'
ss.dependency "TokenCoreDep/EmbededOpenSSL"
end
end