Search code examples
iosfirebasexcode7cocoapodsfirebase-cloud-messaging

FirebaseMessaging module not found using cocoapods iOS


I'm getting a error that 'FirebaseMessaging module not found'. Below is my pod file structure.

Pod file structure

Official documentation shows Firebase/Messaging is available. I've written in pod file and tried to install it. The stats in terminal doesn't shows FirebaseMessaging installation and same does that pods directory.

Below is terminal stats.

Terminal screenshot

Where I'm going wrong?


Solution

  • The culprit was Pods! I removed all CocoaPods from Project using this link.

    Thereafter, I again added Pods to project using this link.

    Screenshot for logs

    It really worked later!