-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPodfile
58 lines (41 loc) · 1.14 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
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
inhibit_all_warnings!
def pods
# Firebase
## Issue with higher versions from 5.12, plus needs to be build with legacy system
pod 'Firebase/Core', '~> 5.12.0'
pod 'Firebase/Firestore', '~> 5.12.0'
# Firebase (fix)
pod 'GoogleAppMeasurement', '~> 5.3.0'
# Reactive
pod 'ReactiveSwift', '~> 4.0'
# Swift
pod 'SwiftXtend', '~> 1.1'
# Linting
pod 'SwiftLint', '~> 0.28'
end
def test_pods
pod 'Quick', '~> 1.3'
pod 'Nimble', '~> 7.3'
end
target 'FireStore-iOS' do
platform :ios, '8.0'
pods
end
target 'FireStore-Tests-iOS' do
platform :ios, '8.0'
pod 'FireStore', :path => '../FireStore'
pods
test_pods
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