Undefined symbols for architecture armv7: “_OBJC_CLASS_$_FIRApp”

我怕爱的太早我们不能终老 提交于 2020-01-12 02:30:52

问题


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


回答1:


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




回答2:


s.static_framework = true

to podspec worked for me

URL: How to use Firebase SDK as a Pod dependency?




回答3:


Updating the pod "Architectures" to $(ARCHS_STANDARD) worked for me.



来源:https://stackoverflow.com/questions/37344676/undefined-symbols-for-architecture-armv7-objc-class-firapp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!