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

时间:2018-07-25 05:11:59

标签: 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!

2 个答案:

答案 0 :(得分:1)

已解决的问题

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

请下载最新版本。

答案 1 :(得分:0)

您是否尝试过完全删除派生数据?

您可以在XCode的“首选项-位置”下找到要删除的文件夹:

enter image description here

然后将其删除,然后尝试重建项目。