架构armv7的未定义符号:“_OBJC_CLASS _ $ _ FIRApp” [英] Undefined symbols for architecture armv7: "_OBJC_CLASS_$_FIRApp"

查看:1270
本文介绍了架构armv7的未定义符号:“_OBJC_CLASS _ $ _ FIRApp”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将Firebase按照说明集成到我的应用中,并添加了[FIRApp configure];在编译应用程序时,我收到以下错误:

架构armv7的未定义符号:
_OBJC_CLASS _ $ _ FIRApp,引用来自:
在AppDelegate.o中的objc-class-ref
为架构armv7找不到ld:symbol(s)

解决方案

CocoaPods有没有提供任何警告,因为豆荚安装?我通过设置 继承了 标志。


I am integrating Firebase in my app according to the instructions and added [FIRApp configure]; in the code however, while compiling the app I am getting the following error:

Undefined symbols for architecture armv7: "_OBJC_CLASS_$_FIRApp", referenced from: objc-class-ref in AppDelegate.o ld: symbol(s) not found for architecture armv7

解决方案

Did CocoaPods wrote any warnings due pods installation? I fixed similar issue by setting OTHER_LDFLAGS build settings to $(inherited) flag.

这篇关于架构armv7的未定义符号:“_OBJC_CLASS _ $ _ FIRApp”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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