forked from Sentient-Cryptography/web3swift
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Podfile
42 lines (37 loc) · 972 Bytes
/
Podfile
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
def import_pods
pod 'Alamofire', '~> 4.7'
pod 'Alamofire-Synchronous', '~> 4.0'
pod "PromiseKit", "~> 6.0"
pod 'BigInt', '~> 3.0'
pod 'CryptoSwift', '~> 1.0'
pod 'Result', '~> 3.0.0'
pod 'libsodium', :modular_headers => true
pod 'secp256k1_ios', :git => 'https://github.com/shamatar/secp256k1_ios.git', :modular_headers => true
end
target 'web3swift-macOS' do
platform :osx, '10.13'
# use_frameworks!
use_modular_headers!
import_pods
target 'web3swift-macOS_Tests' do
inherit! :search_paths
end
end
target 'web3swift-iOS' do
platform :ios, '12.0'
# use_frameworks!
use_modular_headers!
import_pods
target 'web3swift-iOS_Tests' do
inherit! :search_paths
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
if ['Result-iOS'].include? target.name
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.2'
end
end
end
end