Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Firestore/Example/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ target 'Firestore_Example_iOS' do
pod 'Firebase/CoreOnly', '6.6.0'

pod 'FirebaseFirestore', :path => '../../'
pod 'FirebaseCore', :path => '../../'

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest adding GoogleUtilities back as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#3648 effectively does that for CI purposes.

target 'Firestore_Tests_iOS' do
inherit! :search_paths
Expand Down Expand Up @@ -86,6 +87,7 @@ target 'Firestore_Example_macOS' do
platform :osx, '10.11'

pod 'FirebaseFirestore', :path => '../../'
pod 'FirebaseCore', :path => '../../'

target 'Firestore_Tests_macOS' do
inherit! :search_paths
Expand Down Expand Up @@ -115,6 +117,7 @@ target 'Firestore_Example_tvOS' do
platform :tvos, '10.0'

pod 'FirebaseFirestore', :path => '../../'
pod 'FirebaseCore', :path => '../../'

target 'Firestore_Tests_tvOS' do
inherit! :search_paths
Expand Down
12 changes: 12 additions & 0 deletions scripts/install_prereqs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,18 @@ case "$PROJECT-$PLATFORM-$METHOD" in
;;

Firestore-*-xcodebuild | Firestore-*-fuzz)
if [[ $XCODE_VERSION == "8."* ]]; then
# Firestore still compiles with Xcode 8 to help verify general
# conformance with C++11 by using an older compiler that doesn't have as
# many extensions from later versions of the language. However, Firebase
# as a whole does not support this environment and @available checks in
# GoogleDataTransport would otherwise break this build.
#
# This drops the dependency that adds GoogleDataTransport into
# Firestore's dependencies.
sed -i.bak "/s.dependency 'FirebaseCoreDiagnostics'/d" FirebaseCore.podspec
fi

gem install xcpretty
bundle exec pod install --project-directory=Firestore/Example --repo-update
;;
Expand Down