File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ target 'Firestore_Example_iOS' do
39
39
pod 'Firebase/CoreOnly' , '6.7.0'
40
40
41
41
pod 'FirebaseFirestore' , :path => '../../'
42
+ pod 'FirebaseCore' , :path => '../../'
42
43
43
44
target 'Firestore_Tests_iOS' do
44
45
inherit! :search_paths
@@ -86,6 +87,7 @@ target 'Firestore_Example_macOS' do
86
87
platform :osx , '10.11'
87
88
88
89
pod 'FirebaseFirestore' , :path => '../../'
90
+ pod 'FirebaseCore' , :path => '../../'
89
91
90
92
target 'Firestore_Tests_macOS' do
91
93
inherit! :search_paths
@@ -115,6 +117,7 @@ target 'Firestore_Example_tvOS' do
115
117
platform :tvos , '10.0'
116
118
117
119
pod 'FirebaseFirestore' , :path => '../../'
120
+ pod 'FirebaseCore' , :path => '../../'
118
121
119
122
target 'Firestore_Tests_tvOS' do
120
123
inherit! :search_paths
Original file line number Diff line number Diff line change @@ -105,6 +105,18 @@ case "$PROJECT-$PLATFORM-$METHOD" in
105
105
;;
106
106
107
107
Firestore-* -xcodebuild | Firestore-* -fuzz)
108
+ if [[ $XCODE_VERSION == " 8." * ]]; then
109
+ # Firestore still compiles with Xcode 8 to help verify general
110
+ # conformance with C++11 by using an older compiler that doesn't have as
111
+ # many extensions from later versions of the language. However, Firebase
112
+ # as a whole does not support this environment and @available checks in
113
+ # GoogleDataTransport would otherwise break this build.
114
+ #
115
+ # This drops the dependency that adds GoogleDataTransport into
116
+ # Firestore's dependencies.
117
+ sed -i.bak " /s.dependency 'FirebaseCoreDiagnostics'/d" FirebaseCore.podspec
118
+ fi
119
+
108
120
gem install xcpretty
109
121
bundle exec pod install --project-directory=Firestore/Example --repo-update
110
122
;;
You can’t perform that action at this time.
0 commit comments