Ionic app is blank (white) in iPhone simulator/real device, but works fine on Android and iPad

Hi, I have been struggling with this issue for a while now and I simply have no clue what is going on.

What I am trying:

  1. Build ionic app
  2. Sync app
  3. Open in Xcode
  4. Select any iPhone simulator
  5. Run app

The result is a blank app that never opens. Just a white screen. If I do the same but select an iPad simulator it works fine. I have also tried getting the .ipa file and running it on BrowserStack. Running on real devices I get the same result. Blank screen on iPhones but works fine on iPads. Also worth mentioning is that everything works fine in Android Studio/real devices.

This is what I see in the Xcode logs:

KeyboardPlugin: resize mode - native

:zap: Loading app at capacitor://localhost…

  • [I-ACS025031] AdMob App ID changed. Original, new: (nil), ca-app-pub-7440893279949308~1633074503

  • [I-ACS023007] Analytics v.101700000 started

  • [I-ACS023008] To enable debug logging set the following application argument: -APMAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)

Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 “The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.” UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.}

Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 “The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.” UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.}

Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 “The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.” UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.}

Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 “The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.” UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.}

Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 “The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.” UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.}

Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 “The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.” UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.}

Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 “The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.” UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.}

Updating selectors after delegate addition failed with: Error Domain=NSCocoaErrorDomain Code=4099 “The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.” UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.}

  • [I-ACS800023] No pending snapshot to activate. SDK name: app_measurement

  • [I-ACS023012] Analytics collection enabled

:zap: WebView loaded

Googling these errors there were some answers in regards to AdMob, but nothing useful. I also tried making a tester project that was just the AdMob initialization and ability to call the test ads, and that works fine. That app isn’t blank, and the ad setup/functionality works just fine.

Does anyone have any clue as to what might be going on here? Any help is greatly appreciated.

Specs:
Mac Mini
Apple M2
MacOS: Sonoma 14.1.1
Xcode version: 15.1

Please report to us version of iOs, ionic, capacitor and admob plugin that you use…

Hi fabio, thank you for wanting to help out. It turns out it was this:

Took so long to figure out.