aboutsummaryrefslogtreecommitdiffhomepage
path: root/FirebaseFirestore.podspec
diff options
context:
space:
mode:
authorGravatar Rich Gowman <rgowman@google.com>2018-02-06 12:52:06 -0500
committerGravatar Rich Gowman <rgowman@google.com>2018-02-06 13:39:18 -0500
commit82a65ee12b64372fd81ea0b29d1258cefbccde07 (patch)
tree382908887a5e70583831ea316c3603cabe96265c /FirebaseFirestore.podspec
parent117669378c35f947244f683cb8f987f98754fd72 (diff)
Fix xcode build errors re nanopb
Involves adding PODS_ROOT/nanopb to include path (to allow include <pb.h>) 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.
Diffstat (limited to 'FirebaseFirestore.podspec')
-rw-r--r--FirebaseFirestore.podspec4
1 files changed, 3 insertions, 1 deletions
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
}