cordova-plugin-firebase-messaging: module 'Firebase' not found

Using iOS 5.0.0 platform cordova-plugin-firebase-messaging 2.1.3 Build fails saying

cordova-plugin-firebase-messaging/FirebaseMessagingPlugin.m:5:9: fatal error:
      module 'Firebase' not found
@import Firebase;

I tried the fix posted here https://github.com/chemerisuk/cordova-plugin-firebase-messaging/issues/46 but that does not work.

I have also installed a brand new Cordova App iOS@5.0.0 and installed this app and same error.

I ran pod repo update already. Here is whats in my pod folder Screen Shot 2019-05-22 at 10 39 13 PM

Any ideas?

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (1 by maintainers)

Most upvoted comments

Not sure if this will correctly fix your issue, but adding pod 'Firebase/Analytics' pod 'Firebase/Messaging' to my pod file inside /platforms/ios fixed it for me.

I’ve forced cordova >= 9.0.0 in v2.1.6