aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore
diff options
context:
space:
mode:
authorGravatar Paul Beusterien <paulbeusterien@google.com>2018-05-14 07:14:51 -0700
committerGravatar GitHub <noreply@github.com>2018-05-14 07:14:51 -0700
commitfd80ca1afe3674148ba78d68c685339eac8dd051 (patch)
treeb8a0a7bf63b439afc50da07a2bc1ca7dd9f7faf2 /Firestore
parent8bdafd9f143c5334dc81fe4fce80735138a62811 (diff)
parent2349d3e41b57b96fee1055e4d35a34606aa6b726 (diff)
Merge pull request #1271 from firebase/pb-cp-all_load-fix
Eliminate duplicate symbol in CocoaPods -all_load build (#1223)
Diffstat (limited to 'Firestore')
-rw-r--r--Firestore/Source/API/FIRFirestoreVersion.h2
-rw-r--r--Firestore/Source/API/FIRFirestoreVersion.mm2
-rw-r--r--Firestore/Source/Remote/FSTDatastore.mm2
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. */