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

**URL:** <https://forums.solar2d.com/t/plugin-googleanalytics-v2-module-not-found-in-xcode-simulator-ios-16-2-metal/355617>\
**Category:** iOS\
**Created:** [May 9, 2023, 5:26pm UTC](https://forums.solar2d.com/t/plugin-googleanalytics-v2-module-not-found-in-xcode-simulator-ios-16-2-metal/355617 "2023-05-09T17:26:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunsetcrier](https://forums.solar2d.com/user_avatar/forums.solar2d.com/sunsetcrier/32/3091_2.png) [@sunsetcrier](https://forums.solar2d.com/u/sunsetcrier)\
**Post date:** [May 9, 2023, 5:26pm UTC](https://forums.solar2d.com/t/plugin-googleanalytics-v2-module-not-found-in-xcode-simulator-ios-16-2-metal/355617/1 "2023-05-09T17:26:10Z")

</div>

![image](https://forums.solar2d.com/uploads/default/original/2X/4/467b5f177e3c3ba092b6afda1b7b47355cb79daa.png)

I get the above Runtime error when building for iOS. The same plugin works for Android. I’ve used the [Google Analytics (Firebase) guide](https://docs.coronalabs.com/plugin/googleAnalytics-v2/index.html#overview) 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.
