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 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'FirebaseCore.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 -- cgit v1.2.3