Recently, I’ve updated to MacOS 26.2 without knowing this would break compatibility with Xcode 16.4, so I am forced to use Xcode 26 to continue working on my project. I use SPM for dependencies. I’ve updated Firebase to latest version (12.7.0) and I’ve found a problem I’ve never had in Xcode 16. When I try to import FirebaseAnalytics in my code, Xcode tells me there’s no such a module. The module is linked in the Frameworks, Libraries and Embedded content section of Xcode:

I’ve also set the Explicitly Build modules setting to No at project level:

But, no matter what I do, I still do get this error:

I’ve obviously deleted DerivedData, cleaned the project, restarted Xcode and built again, to no avail.
I’ve noticed that Xcode 26 does allow me to import FirebaseAnalyticsTarget but obviously that does not let me use FirebaseAnalytics. I could not read anything related to this on their GitHub, so I don’t know if I am doing something wrong.
Has anyone face this same issue? I’ve seen that this is happening with Google packages like FirebaseAnalytics, GoogleMobileAds, and GoogleUserPlatform
