-
Notifications
You must be signed in to change notification settings - Fork 0
/
podfile
49 lines (38 loc) · 1.21 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
# Uncomment the next line to define a global platform for your project
platform :ios, '11.0'
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
def shared_pods
# Pods for FRP
pod 'RxSwift'
pod 'RxCocoa'
# Pods for networking + data serialization
pod 'Moya/RxSwift'
pod 'AlamofireImage'
pod 'RealmSwift'
pod 'RxRealm'
# Pods for localization
pod 'SwiftGen'
# Pods for UI elements
pod 'Whisper'
end
workspace 'AirBankApp'
target 'AirBankApp' do
shared_pods
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
# Ignore documentation warnings
config.build_settings['CLANG_WARN_DOCUMENTATION_COMMENTS'] = 'NO'
# Update the Swift version if necessary
config.build_settings['SWIFT_VERSION'] = '4.0'
# Turn on Whole Module Optimization
if config.name == 'Release'
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Owholemodule'
else
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Onone'
end
end
end
end