From 82a65ee12b64372fd81ea0b29d1258cefbccde07 Mon Sep 17 00:00:00 2001 From: Rich Gowman Date: Tue, 6 Feb 2018 12:52:06 -0500 Subject: Fix xcode build errors re nanopb Involves adding PODS_ROOT/nanopb to include path (to allow include ) and Firestore/Protos/nanopb to include path (to allow include "google/api/annotations.pb.h" and similar). In both cases, this is to allow auto-generated code to function properly. --- FirebaseFirestore.podspec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'FirebaseFirestore.podspec') diff --git a/FirebaseFirestore.podspec b/FirebaseFirestore.podspec index b3db410..0f0fe19 100644 --- a/FirebaseFirestore.podspec +++ b/FirebaseFirestore.podspec @@ -66,7 +66,9 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling, 'GCC_PREPROCESSOR_DEFINITIONS' => 'GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 ', 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}" ' + - '"${PODS_TARGET_SRCROOT}/Firestore/third_party/abseil-cpp"', + '"${PODS_TARGET_SRCROOT}/Firestore/third_party/abseil-cpp" ' + + '"${PODS_ROOT}/nanopb" ' + + '"${PODS_TARGET_SRCROOT}/Firestore/Protos/nanopb"', 'OTHER_CFLAGS' => '-DFIRFirestore_VERSION=' + s.version.to_s } -- cgit v1.2.3