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

前端 未结 15 2003
旧时难觅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:38

    Solve this problem like this:

    import FirebaseAnalytics
    

    Then need to replace FIRApp with FirebaseApp as FIRApp is deprecated.

    Thanks.

提交回复
热议问题