iOS - Firebase error: Use of unresolved identifier FIRApp running supplied code

前端 未结 15 2308
旧时难觅i
旧时难觅i 2021-02-02 08:08

When trying to configure XCode to work with Firebase 3, using the code in the setup docs gives me an error:

https://firebase.google.com/docs/ios/setup#add_the_sdk

<
15条回答
  •  盖世英雄少女心
    2021-02-02 08:36

    If you are using ReactNative > 0.62, make sure that you put in AppDelegate.m

    #import 
    

    Before:

    #ifdef FB_SONARKIT_ENABLED
    

提交回复
热议问题