Module 'FirebaseCore' not found when building project
See original GitHub issueI have recently upgraded an app from 2.2.0 to 2.5.1 and I have stumbled upon the following error when building RNFIRMessaging.m: Module 'FirebaseCore' not found when trying to @import FirebaseCore;.
Oddly enough, if I replace that line with @import Firebase; the build succeeds and the push notifications work. I could also reproduce this issue on a newly created RN application.
I have tested this on React Native 0.39.1, the version of the package is 2.5.1 and I am using CocoaPods 1.1.1. Tested on an iPad Mini.
Have I missed some configuration step, or is this a known issue?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:18 (3 by maintainers)
Top Results From Across the Web
fatal error: module 'firebase_core' not found - Stack Overflow
When opening the project in XCode, make sure you open the file with the .xcworkspace extension instead of the one with .xcodeproj and...
Read more >Module 'Firebase' not found? - Google Groups
But in the last step I got error "Module 'Firebase' not found" when trying @import Firebase; to my project AppDelegate.h. Please help.
Read more >iOS Installation - React Native Firebase
The Podfile needs to be initialised in the ios directory of your project. ... error 'Firebase.h' file not found with <angled> include; use...
Read more >Could not build Objective-C module 'Firebase'
Quit Xcode. Delete project's temp files located at ~/Library/Developer/Xcode/DerivedData; Delete ProjectName.xcworkspace; Delete Podfile.lock file and Pods ...
Read more >Transfer to Apple M1 Xcode shows an error "'FirebaseCore ...
I'm using Firebase and project perfectly works with Xcode 11 on ... file not found" and "Could not build Objective-C module 'Firebase'".
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ramilushev I finally got this to work by replacing the 3 lines in the file with these:
Not really sure what significance this has, but at least my project builds now.
U need to download the latest firebase sdk, or run an update/upgrade on cocoapods