forked from Boilertalk/Web3.swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWeb3.podspec
68 lines (52 loc) · 2.08 KB
/
Web3.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Pod::Spec.new do |s|
s.name = 'Web3'
s.version = '0.4.2'
s.summary = 'Web3 library for Swift. Sign transactions and interact with Smart Contracts in the Ethereum Network.'
s.description = <<-DESC
Web3 library to sign transactions, interact with Smart Contracts, call
Smart Contract methods and many things more, all through either a
HTTP RPC interface provided by this library or a custom RPC interface
(for example IPC,...).
DESC
s.homepage = 'https://github.com/Boilertalk/Web3.swift'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Koray Koska' => '[email protected]' }
s.source = { :git => 'https://github.com/Boilertalk/Web3.swift.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.swift_versions = '5.1.3', '5.1.2', '5.0', '5.1'
s.pod_target_xcconfig = {
'OTHER_SWIFT_FLAGS' => '-DWeb3CocoaPods'
}
s.default_subspecs = 'Core', 'HTTPExtension'
s.subspec 'Core' do |ss|
ss.source_files = 'Web3/Classes/Core/**/*'
# Core dependencies
ss.dependency 'BigInt', '~> 4.0'
ss.dependency 'CryptoSwift', '~> 1.0'
ss.dependency 'secp256k1.swift', '~> 0.1'
end
s.subspec 'HTTPExtension' do |ss|
ss.source_files = 'Web3/Classes/FoundationHTTP/**/*'
ss.dependency 'Web3/Core'
end
s.subspec 'PromiseKit' do |ss|
ss.source_files = 'Web3/Classes/PromiseKit/**/*'
ss.dependency 'Web3/Core'
# PromiseKit dependency
ss.dependency 'PromiseKit/CorePromise', '~> 6.0'
end
s.subspec 'ContractABI' do |ss|
ss.source_files = 'Web3/Classes/ContractABI/**/*'
ss.dependency 'Web3/Core'
end
# s.resource_bundles = {
# 'Web3' => ['Web3/Assets/*.png']
# }
# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
end