-
Notifications
You must be signed in to change notification settings - Fork 28
/
Podfile
75 lines (65 loc) · 2.33 KB
/
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
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
69
70
71
72
73
74
75
using_local_pods = ENV['USE_LOCAL_PODS'] == 'true' || false
platform :ios, '12.0'
use_frameworks!
# ignore all warnings from all pods
inhibit_all_warnings!
def set_up_local_pods
pod 'EosioSwift', :path => '../eosio-swift'
pod 'EosioSwiftAbieosSerializationProvider', :path => '../eosio-swift-abieos-serialization-provider'
pod 'EosioSwiftVault', :path => '../eosio-swift-vault'
pod 'EosioSwiftEcc', :path => '../eosio-swift-ecc'
pod 'EosioSwiftVaultSignatureProvider', :path => '../eosio-swift-vault-signature-provider'
pod 'EosioSwiftReferenceAuthenticatorSignatureProvider', :path => '../eosio-swift-reference-ios-authenticator-signature-provider'
end
def set_up_remote_pods
pod 'EosioSwift', '~> 0.1.1'
pod 'EosioSwiftAbieosSerializationProvider', '~> 0.1.1'
pod 'EosioSwiftVault', '~> 0.1.1'
pod 'EosioSwiftEcc', '~> 0.1.1'
pod 'EosioSwiftVaultSignatureProvider', '~> 0.1.1'
pod 'EosioSwiftReferenceAuthenticatorSignatureProvider', '~> 0.1.1'
end
if using_local_pods
# Pull pods from sibling directories if using local pods
target 'EosioReferenceAuthenticator' do
# Pods for EosioReferenceAuthenticator
set_up_local_pods
pod 'ReachabilitySwift'
end
target 'EosioReferenceAuthenticatorTests' do
inherit! :search_paths
# Pods for testing
set_up_local_pods
pod 'SnapshotTesting', '~> 1.1'
end
target 'EosioReferenceAuthenticatorUITests' do
inherit! :search_paths
# Pods for testing, must be all pods
set_up_local_pods
end
else
# Pull pods from sources above if not using local pods
target 'EosioReferenceAuthenticator' do
# Pods for EosioReferenceAuthenticator
set_up_remote_pods
pod 'ReachabilitySwift'
end
target 'EosioReferenceAuthenticatorTests' do
inherit! :search_paths
# Pods for testing
set_up_remote_pods
pod 'SnapshotTesting', '~> 1.1'
end
target 'EosioReferenceAuthenticatorUITests' do
inherit! :search_paths
# Pods for testing, must be all pods
set_up_remote_pods
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf'
end
end
end