问题
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