Cannot import FirebaseCore consistently

Hi! I've been working on a project that requires firebase. I have version 10.15 installed.

The issue is that Xcode gives me this error sometimes when I try to import FirebaseCore: No such module 'FirebaseCore'

However, I don't get this error in some other Swift file in the same project.

Why is this and how do I solve this issue? Thanks.

Hi I have a similar problem. Is there any resolution to this?

I have the same issue with Xcode 15.3. I had no issues 2 months ago with 15.3 beta. I haven't changed anything in the project, it was working fine. Today I faced that error. Pod install, update nothing changes. What is the problem?

Cannot import FirebaseCore consistently
 
 
Q