Undefined symbols for architecture armv7: “_OBJC_CLASS_$_FIRApp”

前端 未结 4 1625
无人及你
无人及你 2020-12-29 19:45

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

相关标签:
4条回答
  • 2020-12-29 20:09

    s.static_framework = true

    to podspec worked for me

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

    0 讨论(0)
  • 2020-12-29 20:19

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

    0 讨论(0)
  • 2020-12-29 20:19

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

    0 讨论(0)
  • 2020-12-29 20:26

    Put $(inherited) -ObjC -framework "AVFoundation" -framework "AudioToolbox" -framework "CFNetwork" -framework "CoreGraphics" -framework "CoreMedia" -framework "CoreMotion" -framework "CoreTelephony" -framework "CoreVideo" -framework "GLKit" -framework "GoogleMobileAds" -framework "MediaPlayer" -framework "MessageUI" -framework "MobileCoreServices" -framework "OpenGLES" -framework "QuartzCore" -framework "Security" -framework "StoreKit" -framework "SystemConfiguration" -weak_framework "AdSupport" -weak_framework "JavaScriptCore" -weak_framework "SafariServices" -weak_framework "WebKit"

    0 讨论(0)
提交回复
热议问题