-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
75 lines (58 loc) · 1.12 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
# Uncomment the next line to define a global platform for your project
platform :ios, '10.0'
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
inhibit_all_warnings!
def rx
pod 'RxSwift'
pod 'RxCocoa'
pod 'RxDataSources'
pod 'RxRealm'
pod 'RxSwiftExt'
pod 'RxOptional'
end
def database
pod 'RealmSwift'
end
def ui
pod 'KMPlaceholderTextView'
end
def tool
pod 'SwiftDate'
pod 'SwiftGen'
pod 'SwiftLint'
end
def shared_pods
#Database
database
#Reactive
rx
#UI
ui
# Tool
tool
end
def testing
pod 'Quick'
pod 'Nimble'
pod 'Nimble-Snapshots'
pod 'RxBlocking'
pod 'RxTest'
end
target 'Tweeter' do
shared_pods
end
target 'TweeterTests' do
inherit! :search_paths
testing
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if config.name == 'Debug'
config.build_settings['OTHER_SWIFT_FLAGS'] = ['$(inherited)', '-Onone']
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Owholemodule'
end
end
end
end