Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Module 'FirebaseCore' not found

Getting this error when I’m trying to build my Ionic app in Xcode.

Any idea of what I’m doing wrong? the Pod file appears to be in the right place.

Have tried changing @import FirebaseCore;" to "#import "FirebaseCore/FirebaseCore.h" and adding pod ‘FirebaseCore’, :modular_headers => true but Xcode still isn’t finding it.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Here’s an image of the error:

error_img

Was expecting Xcode to build the same as before (from my_app.xcodeproj file compiled with ionic cordova build ios –prod –release) – as that has worked before this.

>Solution :

The issue you probably have is that when you run ionic cordova or capacitor it builds a project under platforms. When you open xcode, do NOT select the xcode.proj, instead when you open xcode, open from files and select the entire ios folder under platforms.

For example

/Users/$User/Documents/GitHub/$Project/platforms/ios

This because this folder contains the the things like pods and such for firebase and thus throws an error when it cant find them

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading