Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ios FirebaseCoreDiagnostics 5.4.1 Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_GULAppEnvironmentUtil"

Tags:

ios

firebase

I'm try upgrade firebase from version 4.2.0 to version 5.4.1. I'm getting this error, while building IOS:

Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_GULAppEnvironmentUtil", referenced from: objc-class-ref in FirebaseCoreDiagnostics(FIRDiagnostics_b8d2083bbf595e32a15f4c92bf56379b.o) "_OBJC_CLASS_$_GULNetwork", referenced from: objc-class-ref in FirebaseCoreDiagnostics(FIRClearcutLogger_39f37e7cc81dbdcb1b22721b95a40297.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

any ideas how to fix that? thanks!

like image 505
Truongbs Avatar asked Jul 25 '18 05:07

Truongbs


2 Answers

fixed issue

https://github.com/firebase/firebase-ios-sdk/issues/1585

Please download the latest version.

like image 108
Karaage-kun Avatar answered Nov 15 '22 14:11

Karaage-kun


Have you tried to delete completely the derived data?

You can find the folder to delete under "Preference - Locations" of XCode:

enter image description here

Then delete it and try to rebuild the project.

like image 1
Kerberos Avatar answered Nov 15 '22 15:11

Kerberos