plugin.googleAnalytics.v2 - Module not found in XCode Simulator, iOS 16.2 Metal


I get the above Runtime error when building for iOS. The same plugin works for Android. I’ve used the Google Analytics (Firebase) guide to replace the old plugin (plugin.googleAnalytics.v2 by com.corona).

I’ve added the GoogleService-Info.plist file in the root directory, right next to the google-services.json required for Android.

I noticed that there’s a flag for android called “useGoogleServicesJson = true” but no flag for iOS. When I comment the plugin out, the iOS build compiles and runs successfully.