From 2349d3e41b57b96fee1055e4d35a34606aa6b726 Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Thu, 3 May 2018 16:35:33 -0700 Subject: Eliminate duplicate symbol in CocoaPods -all_load build (#1223) --- Firestore/Source/API/FIRFirestoreVersion.h | 2 +- Firestore/Source/API/FIRFirestoreVersion.mm | 2 +- Firestore/Source/Remote/FSTDatastore.mm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Firestore') diff --git a/Firestore/Source/API/FIRFirestoreVersion.h b/Firestore/Source/API/FIRFirestoreVersion.h index 6fb21eb..aaf7976 100644 --- a/Firestore/Source/API/FIRFirestoreVersion.h +++ b/Firestore/Source/API/FIRFirestoreVersion.h @@ -19,4 +19,4 @@ #import /** Version string for the Firebase Firestore SDK. */ -FOUNDATION_EXPORT const unsigned char *const FirebaseFirestoreVersionString; +FOUNDATION_EXPORT const unsigned char *const FIRFirestoreVersionString; diff --git a/Firestore/Source/API/FIRFirestoreVersion.mm b/Firestore/Source/API/FIRFirestoreVersion.mm index 8ebe814..8f0428c 100644 --- a/Firestore/Source/API/FIRFirestoreVersion.mm +++ b/Firestore/Source/API/FIRFirestoreVersion.mm @@ -27,5 +27,5 @@ #define STR(x) STR_EXPAND(x) #define STR_EXPAND(x) #x -extern "C" const unsigned char *const FirebaseFirestoreVersionString = +extern "C" const unsigned char *const FIRFirestoreVersionString = (const unsigned char *const)STR(FIRFirestore_VERSION); diff --git a/Firestore/Source/Remote/FSTDatastore.mm b/Firestore/Source/Remote/FSTDatastore.mm index c7ee30f..f0852fe 100644 --- a/Firestore/Source/Remote/FSTDatastore.mm +++ b/Firestore/Source/Remote/FSTDatastore.mm @@ -185,7 +185,7 @@ typedef GRPCProtoCall * (^RPCFactory)(void); // version as a macro, so it would be hardcoded based on version we have at compile time of // the Firestore library, rather than the version available at runtime/at compile time by the // user of the library. - return [NSString stringWithFormat:@"gl-objc/ fire/%s grpc/", FirebaseFirestoreVersionString]; + return [NSString stringWithFormat:@"gl-objc/ fire/%s grpc/", FIRFirestoreVersionString]; } /** Returns the string to be used as google-cloud-resource-prefix header value. */ -- cgit v1.2.3