admob icon indicating copy to clipboard operation
admob copied to clipboard

Crash on iOS Simulator with AdMob (Xcode)

Open lsantaniello opened this issue 4 months ago • 1 comments

Hi everyone,

I’m testing my Ionic + Capacitor app with the AdMob plugin on the iOS simulator (Xcode), and the app crashes immediately on startup.

In the Xcode console I always see this log right before the crash:

Failed to resolve host network app id to config: bundleID: com.apple.WebKit.Networking instance ID: Optional([_EXExtensionInstanceIdentifier: ...])
Thread 4: EXC_BAD_ACCESS (code=EXC_I386_GPFLT)

The crash happens only on the simulator. On a physical iPhone the app works fine and AdMob loads as expected.

My setup:

  • Ionic + Capacitor
  • Latest AdMob plugin
  • Xcode Version 16.3 (16E140)
  • Testing on iOS simulator iPhone 16 Pro (iOS 18.4)

Has anyone else experienced this issue? Is there a recommended way to disable AdMob initialization when running in the simulator so the app doesn’t crash?

Thanks!

lsantaniello avatar Sep 08 '25 20:09 lsantaniello

I’m not aware of a way to disable AdMob only on the simulator, but in my environment it works fine even on the simulator without crashing.

Could you please try again using the latest version of the plugin and see if the issue still occurs?

Image

rdlabo avatar Oct 25 '25 06:10 rdlabo