-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPodfile
88 lines (71 loc) · 1.46 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
# Uncomment the next line to define a global platform for your project
workspace 'TwitterClone'
use_frameworks!
platform :ios, '13.0'
#core module
def core_pods
pod 'SwiftLint', :configurations => ['Debug']
pod 'SwiftGen', :configurations => ['Debug']
pod 'RxSwift'
pod 'RxCocoa'
pod 'Moya/RxSwift'
pod 'RxRequester/Moya'
pod 'ModelsMapper'
pod 'SwiftyJSON'
pod 'RealmSwift'
end
target 'Core' do
project 'Core/Core.project'
core_pods
end
#presentation module
def presentation_pods
core_pods
pod 'SwiftMessages'
pod 'Toast-Swift'
pod 'NVActivityIndicatorView'
pod 'IQKeyboardManagerSwift'
pod 'Lightbox'
pod 'PanModal'
pod 'DropDown'
pod 'Nuke'
pod 'RxReachability'
pod 'SnapKit'
pod 'BTNavigationDropdownMenu'
end
target 'Presentation' do
project 'Presentation/Presentation.project'
presentation_pods
end
#data module
def data_pods
core_pods
pod 'OAuthSwift'
end
target 'Data' do
use_frameworks!
project 'Data/Data.project'
data_pods
end
#app module
def app_pods
core_pods
end
target 'TwitterClone' do
app_pods
presentation_pods
pod 'OAuthSwift'
# target 'TwitterCloneTests' do
# test_pods
# end
# target 'TwitterCloneUITests' do
# # Pods for testing
# end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['CONFIGURATION_BUILD_DIR'] = '$PODS_CONFIGURATION_BUILD_DIR'
end
end
end