question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

module 'Firebase' not found

See original GitHub issue

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?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
ghostcommented, May 26, 2019

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.

1reaction
chemerisukcommented, Jun 5, 2019

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firebase Module install on ios - Stack Overflow
So that when I want to import Firebase to a file that is used in other targets, Xcode gives error and says Module...
Read more >
Module 'Firebase' not found? - Google Groups
I have found solution on stackoverflow: Doing the following steps on the terminal command line: 1. pod repo update; 2. Commented the pod...
Read more >
"Module 'Firebase' not found" while building (iOS) #826 - GitHub
I'm using cocoapods in my project. Updated to the latest version of react-native-fcm and since then I'm getting this error. Also tried to...
Read more >
Module not found: Can't resolve 'firebase' | bobbyhadz
To solve the error "Module not found: Error: Can't resolve 'firebase'", make sure to install the firebase package by opening your terminal ......
Read more >
Xcode - No such module 'Firebase' - CodeCrew Community
Okay that's why it isn't working, you haven't added any pods to this file! Under Pods for Dalmatian You need to add whichever...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found