_OBJC_CLASS _ $ _ FIRPhoneAuthProvider“,引用自:LoginVC.o中的objc-class-ref出现此错误 [英] _OBJC_CLASS_$_FIRPhoneAuthProvider", referenced from: objc-class-ref in LoginVC.o Getting this error

查看:59
本文介绍了_OBJC_CLASS _ $ _ FIRPhoneAuthProvider“,引用自:LoginVC.o中的objc-class-ref出现此错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

显示所有消息

"_ OBJC_CLASS _ $ _ FIRPhoneAuthProvider",引用自:LoginVC.o ld中的objc-class-ref:找不到体系结构的符号x86_64 clang:错误:链接器命令失败,退出代码为1(使用-v可以参见调用)

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

推荐答案

该错误表明编译器在构建** LoginVC for X86_64 **体系结构时无法找到 FIRPhoneAuthProvider 类.这可能是因为体系结构"设置.

The error suggests that the compiler could not able to find the FIRPhoneAuthProvider class while building the **LoginVC for X86_64 ** architecture. It might because of Architecture settings.

在构建设置"中检查仅构建活动体系结构设置.确保对于您的应用目标 cocoapods 目标,该目标都相同.

Check the Build Active Architectures Only setting from the Build Settings. Make sure that this should be same for your application target and for cocoapods target.

如果仍然遇到问题,请发布带有构建设置的Xcode的屏幕截图.

If you still face the issue, post the screenshot of your Xcode with build setting.

这篇关于_OBJC_CLASS _ $ _ FIRPhoneAuthProvider“,引用自:LoginVC.o中的objc-class-ref出现此错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆