-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
74 lines (60 loc) · 1.7 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
source 'https://github.com/CocoaPods/Specs.git'
plugin 'cocoapods-binary-cache'
inhibit_all_warnings!
use_frameworks!
platform :ios, '11.0'
# Rx
pod 'RxSwift', '5.1.1', binary: true
pod 'RxCocoa', binary: true
pod 'RxDataSources', :binary => true
pod 'RxKeyboard', binary: true
# Architecture
pod 'ReactorKit', '2.1.1', binary: true
pod 'RIBs', git: 'https://github.com/uber/RIBs', tag: '0.9.2', binary: true
# DI
pod 'Pure', binary: true
pod 'Swinject', '2.7.1', binary: true
pod 'PureSwinject', binary: true
# UI
pod 'SnapKit', binary: true
pod 'ColorCompatibility', binary: true
# Convenience
pod 'Then', binary: true
def testable_target(name)
target name do
yield if block_given?
end
target "#{name}Tests" do
pod 'Quick', binary: true
pod 'Nimble', binary: true
pod 'MockingKit', binary: true
end
end
testable_target 'Dailiary'
testable_target 'DailiaryFoundation'
testable_target 'DailiaryUI'
testable_target 'DailiaryReactive'
testable_target 'DailiaryTest' do
pod 'Quick', binary: true
pod 'Nimble', binary: true
pod 'MockingKit', binary: true
end
config_cocoapods_binary_cache(
cache_repo: {
'default' => {
'local' => '~/.cocoapods-binary-cache/dailiary/prebuilt-frameworks'
}
},
prebuild_config: 'Debug',
prebuild_all_pods: 'true'
)
post_install do |installer_representation|
installer_representation.pods_project.targets.each do |target|
target.build_configurations.each do |build_config|
build_config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = '$(inherited)'
if build_config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] == '8.0'
build_config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
end
end
end
end