Firebase References undeclared

前端 未结 6 1134
闹比i
闹比i 2021-02-19 20:38

I created a new Xcode project, added the \'Firebase\' pod to my pod file and installed it, and added the Google-services.plist file and the rest according to the Firebase docume

6条回答
  •  南旧
    南旧 (楼主)
    2021-02-19 21:19

    EDIT: I found the real problem behind. Firebase had update. User need to update the firebase version via cocopod. After update the cocopod, can use everything normally same as firebase Doc.

    ==========================================

    I have the same problem, but cannot fix it by updating the pod-file.

    Finally, I find out a solution.

    Google teach us to import only

    import Firebase

    Just add:

    import FirebaseDatabase

    and everything will become fine

提交回复
热议问题