diff options
author | Paul Beusterien <paulbeusterien@google.com> | 2018-05-03 16:35:33 -0700 |
---|---|---|
committer | Paul Beusterien <paulbeusterien@google.com> | 2018-05-14 06:44:27 -0700 |
commit | 2349d3e41b57b96fee1055e4d35a34606aa6b726 (patch) | |
tree | f09c487ed02d172889e00a71fd716dc368af0dd2 /Firestore | |
parent | 56a529531b5ecd81a68c098ec8fbc5b8a6ec3fcf (diff) |
Eliminate duplicate symbol in CocoaPods -all_load build (#1223)
Diffstat (limited to 'Firestore')
-rw-r--r-- | Firestore/Source/API/FIRFirestoreVersion.h | 2 | ||||
-rw-r--r-- | Firestore/Source/API/FIRFirestoreVersion.mm | 2 | ||||
-rw-r--r-- | Firestore/Source/Remote/FSTDatastore.mm | 2 |
3 files changed, 3 insertions, 3 deletions
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 <Foundation/Foundation.h> /** 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. */ |