forked from EOSIO/eosio-reference-ios-authenticator-app
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPodfile
80 lines (69 loc) · 2.42 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
76
77
78
79
80
using_local_pods = ENV['USE_LOCAL_PODS'] == 'true' || false
platform :ios, '13.0'
use_frameworks!
source '[email protected]:EOSLaoMao/laomao-pods.git'
source 'https://github.com/CocoaPods/Specs.git'
# ignore all warnings from all pods
inhibit_all_warnings!
def set_up_local_pods
pod 'EOSWallet', :path => '../EOSWallet'
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 'EOSWallet'
pod 'EosioSwift'
pod 'EosioSwiftAbieosSerializationProvider'
pod 'EosioSwiftVault'
pod 'EosioSwiftEcc'
pod 'EosioSwiftVaultSignatureProvider'
pod 'EosioSwiftReferenceAuthenticatorSignatureProvider'
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