-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPodfile
106 lines (84 loc) · 1.77 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
# Uncomment the next line to define a global platform for your project
platform :ios, '12.4'
inhibit_all_warnings!
def ui
pod 'AlamofireImage', '~> 3.5'
pod 'RxDataSources'
pod 'SnapKit'
pod 'RxDataSources'
pod 'NSObject+Rx'
pod 'RIBs', '~> 0.9'
end
def core
pod 'RxSwift'
pod 'RxCocoa', '~> 4.0'
pod 'RxRealm'
end
target 'App' do
use_frameworks!
pod 'RIBs', '~> 0.9'
end
target 'Main' do
use_frameworks!
ui
core
end
target 'Search' do
use_frameworks!
inherit! :search_paths
ui
core
end
target 'Albums' do
use_frameworks!
inherit! :search_paths
ui
core
end
target 'Detail' do
use_frameworks!
inherit! :search_paths
ui
core
end
target 'RIBsExtensions' do
use_frameworks!
inherit! :search_paths
pod 'RIBs', '~> 0.9'
core
end
target 'Utils' do
use_frameworks!
inherit! :search_paths
core
pod 'RxAlamofire'
pod 'AlamofireImage', '~> 3.5'
end
target 'ManagedModels' do
use_frameworks!
inherit! :search_paths
pod 'RealmSwift'
end
target 'UIComponents' do
use_frameworks!
inherit! :search_paths
pod 'RxCocoa', '~> 4.0'
pod 'RxSwift'
pod 'SnapKit'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
if !['RIBs', 'RxCocoa'].include? target.name
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '5.1'
end
else
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.6'
end
end
end
installer.pods_project.root_object.attributes['LastSwiftMigration'] = 9999
installer.pods_project.root_object.attributes['LastSwiftUpdateCheck'] = 9999
installer.pods_project.root_object.attributes['LastUpgradeCheck'] = 9999
end