aboutsummaryrefslogtreecommitdiffhomepage
path: root/FirebaseFirestore.podspec
diff options
context:
space:
mode:
Diffstat (limited to 'FirebaseFirestore.podspec')
-rw-r--r--FirebaseFirestore.podspec6
1 files changed, 3 insertions, 3 deletions
diff --git a/FirebaseFirestore.podspec b/FirebaseFirestore.podspec
index af9d241..01f8ea3 100644
--- a/FirebaseFirestore.podspec
+++ b/FirebaseFirestore.podspec
@@ -55,13 +55,13 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
s.frameworks = 'MobileCoreServices'
s.library = 'c++'
s.pod_target_xcconfig = {
- 'GCC_PREPROCESSOR_DEFINITIONS' => 'GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 ',
+ 'GCC_PREPROCESSOR_DEFINITIONS' => 'GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 ' +
+ 'FIRFirestore_VERSION=' + s.version.to_s + ' PB_FIELD_16BIT',
'HEADER_SEARCH_PATHS' =>
'"${PODS_TARGET_SRCROOT}" ' +
'"${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 + ' -DPB_FIELD_16BIT'
+ '"${PODS_TARGET_SRCROOT}/Firestore/Protos/nanopb"'
}
s.prepare_command = <<-CMD