From 21c17dd188f50267276c1b5964774640be501c70 Mon Sep 17 00:00:00 2001 From: Ryan Wilson Date: Wed, 23 May 2018 10:31:30 -0400 Subject: Bump version numbers for 5.1.0 (#1320) * Bump version numbers for 5.1.0 * Update push pods script for releasing SDKs. * Fix Core library version string. --- FirebaseFirestore.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FirebaseFirestore.podspec') diff --git a/FirebaseFirestore.podspec b/FirebaseFirestore.podspec index 564b0b3..af9d241 100644 --- a/FirebaseFirestore.podspec +++ b/FirebaseFirestore.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'FirebaseFirestore' - s.version = '0.12.1' + s.version = '0.12.2' s.summary = 'Google Cloud Firestore for iOS' s.description = <<-DESC -- cgit v1.2.3 From 77227f58a03ac1383237f7239a337a7c061b5227 Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Tue, 5 Jun 2018 07:51:07 -0700 Subject: Consistent specification of preprocessor options in podspecs to work with the CocoaPods packager (#1378) --- FirebaseCore.podspec | 5 +++-- FirebaseFirestore.podspec | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'FirebaseFirestore.podspec') diff --git a/FirebaseCore.podspec b/FirebaseCore.podspec index 220ca95..ddcb981 100644 --- a/FirebaseCore.podspec +++ b/FirebaseCore.podspec @@ -33,7 +33,8 @@ Firebase Core includes FIRApp and FIROptions which provide central configuration ] s.dependency 'GoogleToolboxForMac/NSData+zlib', '~> 2.1' s.pod_target_xcconfig = { - 'OTHER_CFLAGS' => '-fno-autolink ' + - '-DFIRCore_VERSION=' + s.version.to_s + ' -DFirebase_VERSION=5.1.0' + 'OTHER_CFLAGS' => '-fno-autolink', + 'GCC_PREPROCESSOR_DEFINITIONS' => + 'FIRCore_VERSION=' + s.version.to_s + ' Firebase_VERSION=5.1.0' } end 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 -- cgit v1.2.3