-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfile
87 lines (68 loc) · 1.44 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
# Uncomment the next line to define a global platform for your project
workspace 'GithubClient'
use_frameworks!
platform :ios, '13.0'
#core module
def core_pods
pod 'SwiftLint', :configurations => ['Debug']
pod 'SwiftGen', :configurations => ['Debug']
pod 'RxSwift'
pod 'RxCocoa'
pod 'ModelsMapper'
pod 'SwiftyJSON'
pod 'SwiftyNet'
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'
end
target 'Presentation' do
project 'Presentation/Presentation.project'
presentation_pods
end
#data module
def data_pods
core_pods
end
target 'Data' do
use_frameworks!
project 'Data/Data.project'
data_pods
end
#app module
def app_pods
core_pods
end
target 'GithubClient' do
app_pods
presentation_pods
target 'GithubClientTests' do
pod 'SwiftyNet'
pod 'RxSwift'
pod 'RxCocoa'
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
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
end