This repository has been archived by the owner on Mar 15, 2023. It is now read-only.
forked from KyberNetwork/KyberSwap-iOS
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPodfile
262 lines (218 loc) · 5.37 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
platform :ios, '12.0'
inhibit_all_warnings!
workspace 'KyberNetwork.xcworkspace'
source 'https://github.com/CocoaPods/Specs.git'
# source 'https://cdn.cocoapods.org/'
# tmp fix the CDN outage: https://github.com/CocoaPods/CocoaPods/issues/10078#issuecomment-696481185
# https://github.com/CocoaPods/CocoaPods/issues/11355
def firebasePods
pod 'Firebase/Analytics'
pod 'Firebase/Crashlytics'
pod 'FirebasePerformance'
pod 'FirebaseRemoteConfig'
end
def uiPods
pod 'lottie-ios'
pod 'SwipeCellKit'
pod 'Charts'
pod 'SeedStackViewController'
pod 'IQKeyboardManager', '~> 6.5'
pod 'JdenticonSwift', '~> 0.0.1'
pod 'QRCodeReaderViewController', '~> 4.0.2'
pod 'SwiftMessages', '~> 5.0.1'
pod 'MBProgressHUD', '~> 1.1.0'
pod 'StatefulViewController', '~> 3.0'
pod 'Eureka', '~> 5.3.0'
pod 'FSPagerView'
pod 'TagListView', :git => 'https://github.com/Expensify/TagListView.git'
pod 'SkeletonView'
pod 'FittedSheets'
pod 'loady'
end
def cryptoHelperPods
pod 'BigInt', '~> 4.0'
pod 'CryptoSwift'
pod 'TrustWalletCore', '~> 2.9'
pod 'TrustKeystore', '~> 0.4.2'
pod 'TrustCore', '~> 0.0.7'
pod 'WalletConnectSwift'
pod 'Web3'
# pod 'WalletCore'
# pod 'web3swift', :git=>'https://github.com/BANKEX/web3swift', :branch=>'master'
pod 'TrustWeb3Provider', :git => 'https://github.com/KYRDTeam/krystal-web3-provider.git', :branch => 'develop'
end
def networkingPods
pod 'APIKit', '~> 3.2.1'
pod 'JSONRPCKit', '~> 3.0.0' #:git=> 'https://github.com/bricklife/JSONRPCKit.git'
pod 'JavaScriptKit', '~> 1.0.0'
pod 'OneSignal', '>= 3.0.0', '< 4.0'
pod 'Starscream', '~> 3.1'
pod 'Kingfisher', '~> 7.0'
pod 'Moya', '~> 10.0.1'
pod 'Mixpanel-swift', '~> 3.1.7'
end
def databasePods
pod 'KeychainSwift', '~> 13.0.0'
pod 'SAMKeychain', '~> 1.5.3'
pod 'RealmSwift', '~> 10.32'
end
def utilitiesPods
pod 'LaunchDarkly', '~> 5.4'
pod 'Swinject'
pod 'SwiftLint', '~> 0.29.4'
pod 'Sentry', :git => 'https://github.com/getsentry/sentry-cocoa.git', :tag => '7.2.8'
pod 'Lokalise', '~> 0.8.1'
pod 'GoogleMLKit/TextRecognition', '2.2.0'
end
def swapDependencies
pod 'BigInt'
pod 'Moya'
pod 'JSONRPCKit'
pod 'APIKit'
pod 'lottie-ios'
pod 'FittedSheets'
pod 'loady'
end
def earnDependencies
pod 'BigInt'
pod 'Moya'
pod 'JSONRPCKit'
pod 'APIKit'
pod 'lottie-ios'
pod 'FittedSheets'
pod 'TrustCore'
pod 'SwipeCellKit'
end
def servicesDependencies
pod 'Moya'
pod 'BigInt'
pod 'JSONRPCKit'
pod 'APIKit'
pod 'Web3'
pod 'JavaScriptKit', '~> 1.0.0'
end
def designSystemDependencies
pod 'SkeletonView'
pod 'SwiftMessages'
pod 'FittedSheets'
pod 'MBProgressHUD', '~> 1.1.0'
end
def dependenciesDependencies
pod 'BigInt'
end
def transactionModuleDependencies
pod 'FittedSheets'
pod 'BigInt'
pod 'TrustWalletCore'
pod 'TrustCore'
pod 'JSONRPCKit'
pod 'APIKit'
pod 'CryptoSwift'
pod 'loady'
pod 'SkeletonView'
end
target 'Dependencies' do
project 'Dependencies/Dependencies.xcodeproj'
use_frameworks!
dependenciesDependencies
end
target 'DesignSystem' do
project 'DesignSystem/DesignSystem.xcodeproj'
use_frameworks!
designSystemDependencies
end
target 'Services' do
project 'Services/Services.xcodeproj'
use_frameworks!
servicesDependencies
end
target 'SwapModule' do
project 'SwapModule/SwapModule.xcodeproj'
use_frameworks!
swapDependencies
end
target 'TransactionModule' do
project 'TransactionModule/TransactionModule.xcodeproj'
use_frameworks!
transactionModuleDependencies
end
target 'EarnModule' do
project 'EarnModule/EarnModule.xcodeproj'
use_frameworks!
uiPods
earnDependencies
end
target 'Utilities' do
project 'Utilities/Utilities.xcodeproj'
use_frameworks!
pod 'BigInt'
pod 'Kingfisher'
end
target 'TokenModule' do
project 'TokenModule/TokenModule.xcodeproj'
use_frameworks!
pod 'BigInt'
pod 'MBProgressHUD', '~> 1.1.0'
pod 'Charts'
pod 'SkeletonView'
end
target 'BaseModule' do
project 'BaseModule/BaseModule.xcodeproj'
use_frameworks!
pod 'FittedSheets'
end
target 'DappBrowser' do
project 'DappBrowser/DappBrowser.xcodeproj'
use_frameworks!
pod 'TrustWeb3Provider', :git => 'https://github.com/KYRDTeam/krystal-web3-provider.git', :branch => 'develop'
# pod 'WalletCore'
pod 'TrustWalletCore'
pod 'CryptoSwift'
pod 'FittedSheets'
pod 'MBProgressHUD'
end
target 'KyberNetwork' do
use_frameworks!
firebasePods
uiPods
cryptoHelperPods
networkingPods
databasePods
utilitiesPods
target 'KyberNetworkTests' do
inherit! :search_paths
# Pods for testing
end
target 'KrystalUnitTests' do
inherit! :search_paths
pod 'Quick'
pod 'Nimble'
end
target 'KyberNetworkUITests' do
inherit! :search_paths
# Pods for testing
end
end
target 'KrystalWallets' do
use_frameworks!
databasePods
pod 'TrustWalletCore', '~> 2.9'
pod 'KeychainSwift'
pod 'CryptoSwift'
end
target 'KrystalNotificationServiceExtension' do
use_frameworks!
pod 'OneSignal', '>= 3.0.0', '< 4.0'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
end
if ['TrustKeystore'].include? target.name
target.build_configurations.each do |config|
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Owholemodule'
end
end
end
end