-
Troubleshooting Installation Errors with React Native and Firebase
I’m stuck on React Native 0.65 for now and I’m trying to use GA4 with Firebase. But, I’m clashing with this error and can’t seem to find any ways around it.
The Swift pod
FirebaseCoreInternal
leans onGoogleUtilities
, but it doesn’t define modules. To go around this, you have to let those targets generate module maps, which is crucial to import them from Swift when building as static libraries. You can activateuse_modular_headers!
across your Podfile, or you can use:modular_headers => true
for some dependencies.Got any ideas on how to fix this, or alternate ways to use GA4 without Firebase?
Log in to reply.