-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
54 lines (30 loc) · 879 Bytes
/
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
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
inhibit_all_warnings!
def pods
pod 'ReactiveSwift', '~> 4.0'
# Linting
pod 'SwiftLint', '~> 0.28'
end
def test_pods
pod 'Quick', '~> 1.3'
pod 'Nimble', '~> 7.3'
end
target 'ReactiveSwifty-iOS' do
platform :ios, '8.0'
pods
target 'ReactiveSwifty-iOSTests' do
inherit! :search_paths
test_pods
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.new_shell_script_build_phase.shell_script = "mkdir -p $PODS_CONFIGURATION_BUILD_DIR/#{target.name}"
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.2'
config.build_settings['ENABLE_TESTABILITY'] = 'YES'
config.build_settings['CONFIGURATION_BUILD_DIR'] = '$PODS_CONFIGURATION_BUILD_DIR'
end
end
end