Firebase Module install on ios

前端 未结 10 1424
囚心锁ツ
囚心锁ツ 2021-02-18 20:38

I followed all instructions for integrating the new firebase release on ios:

  1. I downloaded the file GoogleService-Info.plist

相关标签:
10条回答
  • 2021-02-18 21:13

    This is lame but i fixed integration problems by adding the sources to my project instead using pods. I had to manually fix few files too.

    0 讨论(0)
  • 2021-02-18 21:18

    I ended up fixing it by using

    #import <Firebase/Firebase.h>

    instead of

    @import Firebase

    0 讨论(0)
  • 2021-02-18 21:18

    I had similar issue stating that FirebaseMessaging module not found in header even though I had correct Podfile configuration.

    Solution is to remove Cocoapods from project and add it again.
    

    You can remove CocoaPods from project using this link.

    Thereafter, you can add CocoaPods again using this link.

    Below is snapshot for Podfile that I have used.

    Below snapshot shows log on dependencies that are installed using Pods.

    0 讨论(0)
  • 2021-02-18 21:20

    I have same issue and found solution in here: iOS - Firebase error: Use of unresolved identifier FIRApp running supplied code

    Doing the following steps on the terminal command line:

    1. pod repo update
    2. Commented the pod 'Firebase' line from my Podfile
    3. pod install (this removed the old Firebase)
    4. Added the pod 'Firebase' line again.
    5. pod install (added the new Firebase)

    2nd and 3rd steps were the key I think, otherwise CocoaPods didn't try to update it. As I said maybe this could've been solved by doing pod update but now I can't go back and try again.

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