diff options
author | Rich Gowman <rgowman@google.com> | 2018-06-12 10:27:17 -0400 |
---|---|---|
committer | Rich Gowman <rgowman@google.com> | 2018-06-12 10:27:17 -0400 |
commit | cf2899a085f7ceca3fad2d1fb5336be25cecd7ff (patch) | |
tree | 38c835a29fcda279c8dd220781d2b5c726da307f /FirebaseCore.podspec | |
parent | 1597765af8c897ab73d21d6d404f8eeede7890b1 (diff) | |
parent | 9307f4893008f7d6cf9473e906d4c896546c5c8c (diff) |
Merge remote-tracking branch 'origin/master' into rsgowman/protobuf_cpp
Also "fixed" BadFieldValueTagWithOtherValidTagsPresent test by changing
'false' to 'true'. Details: Depending on the version of nanopb, nanopb
would explicitly encode 'false', which shouldn't be done in proto3. When
it's explicitly encoded, the test worked properly. But when it was
(properly) dropped, the invalid tag is the only field that's actually
encoded, thus violating the assumptions of the test, leading to a test
failure. s/false/true fixes it, as now the boolean_value field is
(properly) encoded regardless of version.
Diffstat (limited to 'FirebaseCore.podspec')
-rw-r--r-- | FirebaseCore.podspec | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/FirebaseCore.podspec b/FirebaseCore.podspec index 03047be..ddcb981 100644 --- a/FirebaseCore.podspec +++ b/FirebaseCore.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'FirebaseCore' - s.version = '5.0.1' + s.version = '5.0.2' s.summary = 'Firebase Core for iOS (plus community support for macOS and tvOS)' s.description = <<-DESC @@ -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.0.0' + 'OTHER_CFLAGS' => '-fno-autolink', + 'GCC_PREPROCESSOR_DEFINITIONS' => + 'FIRCore_VERSION=' + s.version.to_s + ' Firebase_VERSION=5.1.0' } end |