-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfile
181 lines (158 loc) · 2.97 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
source 'https://cdn.cocoapods.org/'
platform :ios, '11.0'
inhibit_all_warnings!
use_frameworks!
workspace 'TheFeels'
plugin 'cocoapods-keys', {
:project => "TheFeels",
:keys => [
"TwitterApiKey",
"TwitterApiKeySecret",
"TwitterAcessToken",
"TwitterAcessTokenSecret",
"TwitterBearerToken",
]}
def sharedPods
pod 'SwiftLint'
pod 'Fakery', :git => 'https://github.com/vadymmarkov/Fakery', :branch => 'master'
swiftyJSON
rxSharedPods
end
def rxSharedPods
pod 'RxSwift', '~> 5'
pod 'RxSwiftExt', '~> 5'
end
def rxTestingPods
pod 'RxTest'
pod 'RxBlocking'
end
def presentationPods
pod 'SwiftGen', '~> 6.0'
pod 'Kingfisher', '~> 5.0'
pod 'lottie-ios'
rxPresentationPods
end
def rxPresentationPods
pod 'RxCocoa', '~> 5'
pod "RxSwiftUtilities"
pod 'RxDataSources', :git => 'https://github.com/RxSwiftCommunity/RxDataSources', :branch => 'master'
end
def diPods
pod 'Swinject', '~> 2.7.0'
pod 'SwinjectAutoregistration', '~> 2.7.0'
end
def oxeNetworking
pod 'OxeNetworking/RxOxeNetworking'
end
def swiftyJSON
pod 'SwiftyJSON', '~> 5.0'
end
def networkingPods
oxeNetworking
pod 'AlamofireNetworkActivityLogger', '~> 3.0'
pod 'OAuthSwift', '~> 2.0.0'
end
def storagePods
end
abstract_target 'TheFeelsTargets' do
project 'TheFeels'
sharedPods
presentationPods
diPods
networkingPods
storagePods
target 'TheFeels' do
target 'TheFeelsTests' do
inherit! :search_paths
rxTestingPods
end
end
end
target 'DI' do
project 'DI/DI'
sharedPods
presentationPods
diPods
networkingPods
storagePods
target 'DITests' do
rxTestingPods
end
end
target 'AppNavigation' do
project 'AppNavigation/AppNavigation'
use_frameworks!
sharedPods
presentationPods
diPods
networkingPods
storagePods
target 'AppNavigationTests' do
rxTestingPods
end
end
target 'Common' do
project 'Presentation/Common/Common'
sharedPods
presentationPods
diPods
target 'CommonTests' do
rxTestingPods
end
end
target 'User' do
project 'Presentation/User/User'
sharedPods
presentationPods
diPods
target 'UserTests' do
rxTestingPods
end
end
target 'Tweet' do
project 'Presentation/Tweet/Tweet'
sharedPods
presentationPods
diPods
target 'TweetTests' do
rxTestingPods
end
end
target 'Domain' do
project 'Domain/Domain'
sharedPods
target 'DomainTests' do
rxTestingPods
end
end
target 'AppData' do
project 'Data/AppData/AppData'
use_frameworks!
sharedPods
target 'AppDataTests' do
rxTestingPods
end
end
target 'Networking' do
project 'Data/Networking/Networking'
sharedPods
networkingPods
target 'NetworkingTests' do
rxTestingPods
end
end
target 'Storage' do
project 'Data/Storage/Storage'
sharedPods
storagePods
target 'StorageTests' do
rxTestingPods
end
end
post_install do |pi|
pi.pods_project.targets.each do |t|
t.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
end
end
end