i was unable to get the array contains function in firestore so I have update pod FirebaseCore -> 5.0 , now it is giving these errors:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_FIRAppEnvironmentUtil", referenced from:
objc-class-ref in FirebaseCoreDiagnostics(FIRDiagnostics_ccb5c62e0dad2a941440a982722cac92.o)
"_kFIRNetworkHTTPStatusCodeNotModified", referenced from:
-[FIRAMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in FirebaseAnalytics(FIRAMeasurement_418014fbcaf09024bdaab2e8210da204.o)
"_kFIRNetworkHTTPStatusCodeNotFound", referenced from:
-[FIRAMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in FirebaseAnalytics(FIRAMeasurement_418014fbcaf09024bdaab2e8210da204.o)
"_kFIRNetworkHTTPStatusOK", referenced from:
-[FIRAMeasurement networkUploadCompletionHandlerWithResponse:error:] in FirebaseAnalytics(FIRAMeasurement_418014fbcaf09024bdaab2e8210da204.o)
-[FIRAMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in FirebaseAnalytics(FIRAMeasurement_418014fbcaf09024bdaab2e8210da204.o)
"_kFIRNetworkHTTPStatusNoContent", referenced from:
-[FIRAMeasurement networkUploadCompletionHandlerWithResponse:error:] in FirebaseAnalytics(FIRAMeasurement_418014fbcaf09024bdaab2e8210da204.o)
-[FIRAMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in FirebaseAnalytics(FIRAMeasurement_418014fbcaf09024bdaab2e8210da204.o)
"_kFIRNetworkHTTPStatusCodeUnavailable", referenced from:
-[FIRAMeasurement networkUploadCompletionHandlerWithResponse:error:] in FirebaseAnalytics(FIRAMeasurement_418014fbcaf09024bdaab2e8210da204.o)
-[FIRAMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in FirebaseAnalytics(FIRAMeasurement_418014fbcaf09024bdaab2e8210da204.o)
"_kFIRNetworkHTTPStatusCodeCannotAcceptTraffic", referenced from:
-[FIRAMeasurement networkUploadCompletionHandlerWithResponse:error:] in FirebaseAnalytics(FIRAMeasurement_418014fbcaf09024bdaab2e8210da204.o)
-[FIRAMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in FirebaseAnalytics(FIRAMeasurement_418014fbcaf09024bdaab2e8210da204.o)
"_OBJC_CLASS_$_FIRNetwork", referenced from:
objc-class-ref in FirebaseAnalytics(FIRAAppDelegateProxy_492d6b8d87dfb426a9a9828dfc4c327e.o)
objc-class-ref in FirebaseAnalytics(FIRAnalytics_f4b98ee05d91ac1a012acad5e8bfd283.o)
objc-class-ref in FirebaseAnalytics(FIRAMeasurement_418014fbcaf09024bdaab2e8210da204.o)
objc-class-ref in FirebaseCoreDiagnostics(FIRClearcutLogger_aae964e21ad546f95d93b470b019d620.o)
"_OBJC_CLASS_$_FIRMutableDictionary", referenced from:
objc-class-ref in FirebaseAnalytics(FIRAAppDelegateProxy_492d6b8d87dfb426a9a9828dfc4c327e.o)
objc-class-ref in FirebaseAnalytics(FIRARemoteConfig_7c67d68a4d265447afbb2db960e98ff4.o)
ld: symbol(s) not found for architecture x86_64
It looks like there is a mix of incompatible versions. Make sure you clean the environment and rebuild.
If you're still stuck, share your Podfile and Podfile.lock.
This file contains both podfile and podfile.lock. When i try to update this pod it does not update it further and i am stuck with the older version of cloud firestore which does not allow arrayContains option and if i add
'-> 5.0'
to firebaseCore and then pod install then it updates all the pods including firestore but then produces error while compiling.
Two strange things about the project:
I recommend running pod update instead of pod install to update to the latest version of all Pods.
BTW, the most recent version of Firebase is 5.9.0
Closing due to staleness, please try updating your pods and comment here if you have any new issues.
Same problem
My pods
Using Firebase (5.10.0)
Using FirebaseAnalytics (5.2.0)
Using FirebaseCore (5.1.5)
Using FirebaseInstanceID (3.2.2)
Using FirebaseMessaging (3.2.0)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_GULUserDefaults", referenced from:
objc-class-ref in FirebaseInstanceID(FIRInstanceIDStore_d561cdee2d9f8fc26566b1c545e02875.o)
objc-class-ref in FirebaseInstanceID(FIRInstanceIDCheckinPreferences_306fdb082ecca463aff31a603a452ec5.o)
objc-class-ref in FirebaseInstanceID(FIRInstanceIDUtilities_e6b1b6e92e6be2bfdc1b4326e55da04d.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
@ulaserdegor Make sure that GoogleUtilities (5.3.0 or newer) is being built and linked.
@paulb777 My podfile and versions . Still same error log.


What version of CocoaPods? $ pod --version
1.5.3, and i solved this problem. Thanks for your help. @paulb777
@ulaserdegor what was the solution for you? Could you share that, please?
Most helpful comment
@ulaserdegor what was the solution for you? Could you share that, please?