Ionic 6 - Getting white screen after splash screen in IOS only

Hi all,
I"m trying to run my app in simulator using xcode and the app getting stuck on white screen after splash screen and I see this logs info:

2023-07-15 10:01:26.968830+0300 PickIt[37937:733049] Apache Cordova native platform version 6.2.0 is starting.

2023-07-15 10:01:26.968998+0300 PickIt[37937:733049] Multi-tasking → Device: YES, App: YES

2023-07-15 10:01:26.988435+0300 PickIt[37937:733049] CDVWKWebViewEngine: trying to inject XHR polyfill

2023-07-15 10:01:26.989383+0300 PickIt[37937:733049] The preference key “KeyboardResize” is not defined and will default to “TRUE”

2023-07-15 10:01:26.989514+0300 PickIt[37937:733049] The preference key “AutoInjectCordova” is not defined and will default to “FALSE”

2023-07-15 10:01:26.989603+0300 PickIt[37937:733049] The preference key “AudioCanMix” is not defined and will default to “FALSE”

2023-07-15 10:01:27.025149+0300 PickIt[37937:733049] The preference key “WKSuspendInBackground” is not defined and will default to “TRUE”

2023-07-15 10:01:27.025702+0300 PickIt[37937:733049] The preference key “MediaPlaybackAllowsAirPlay” is not defined and will default to “TRUE”

2023-07-15 10:01:27.114279+0300 PickIt[37937:733049] The preference key “KeyboardAppearanceDark” is not defined and will default to “FALSE”

2023-07-15 10:01:27.114461+0300 PickIt[37937:733049] The preference key “AllowLinkPreview” is not defined and will default to “FALSE”

2023-07-15 10:01:27.114602+0300 PickIt[37937:733049] The preference key “AllowBackForwardNavigationGestures” is not defined and will default to “FALSE”

2023-07-15 10:01:27.114689+0300 PickIt[37937:733049] CDVWKWebViewEngine will reload WKWebView if required on resume

2023-07-15 10:01:27.114815+0300 PickIt[37937:733049] Using Ionic WKWebView

2023-07-15 10:01:27.115200+0300 PickIt[37937:733049] [CDVTimer][console] 0.048041ms

2023-07-15 10:01:27.115381+0300 PickIt[37937:733049] [CDVTimer][handleopenurl] 0.075936ms

2023-07-15 10:01:27.120193+0300 PickIt[37937:733049] Unlimited access to network resources

2023-07-15 10:01:27.120360+0300 PickIt[37937:733049] [CDVTimer][intentandnavigationfilter] 4.851103ms

2023-07-15 10:01:27.120520+0300 PickIt[37937:733049] [CDVTimer][gesturehandler] 0.054002ms

2023-07-15 10:01:27.120877+0300 PickIt[37937:733049] The preference key “KeyboardResize” is not defined and will default to “TRUE”

2023-07-15 10:01:27.120997+0300 PickIt[37937:733049] CDVIonicKeyboard: resize mode 1

2023-07-15 10:01:27.121136+0300 PickIt[37937:733049] The preference key “HideKeyboardFormAccessoryBar” is not defined and will default to “TRUE”

2023-07-15 10:01:27.121541+0300 PickIt[37937:733049] The preference key “KeyboardAppearanceDark” is not defined and will default to “FALSE”

2023-07-15 10:01:27.121683+0300 PickIt[37937:733049] [CDVTimer][cdvionickeyboard] 1.073956ms

2023-07-15 10:01:27.124098+0300 PickIt[37937:733049] [CDVTimer][splashscreen] 2.182007ms

2023-07-15 10:01:27.126053+0300 PickIt[37937:733049] [CDVTimer][statusbar] 1.827002ms

2023-07-15 10:01:27.133981+0300 PickIt[37937:733049] [CDVTimer][diagnostic] 7.627964ms

2023-07-15 10:01:27.135549+0300 PickIt[37937:733049] [CDVTimer][diagnostic_location] 1.430988ms

2023-07-15 10:01:27.135724+0300 PickIt[37937:733049] [CDVTimer][diagnostic_bluetooth] 0.054002ms

2023-07-15 10:01:27.135913+0300 PickIt[37937:733049] [CDVTimer][diagnostic_wifi] 0.055909ms

2023-07-15 10:01:27.136132+0300 PickIt[37937:733049] [CDVTimer][diagnostic_camera] 0.056028ms

2023-07-15 10:01:27.136368+0300 PickIt[37937:733049] [CDVTimer][diagnostic_notifications] 0.046968ms

2023-07-15 10:01:27.136580+0300 PickIt[37937:733049] [CDVTimer][diagnostic_microphone] 0.060081ms

2023-07-15 10:01:27.140136+0300 PickIt[37937:733049] [CDVTimer][diagnostic_contacts] 3.202915ms

2023-07-15 10:01:27.140308+0300 PickIt[37937:733049] [CDVTimer][diagnostic_calendar] 0.054955ms

2023-07-15 10:01:27.140435+0300 PickIt[37937:733049] [CDVTimer][diagnostic_reminders] 0.041962ms

2023-07-15 10:01:27.145855+0300 PickIt[37937:733049] [CDVTimer][diagnostic_motion] 5.322933ms

2023-07-15 10:01:27.148643+0300 PickIt[37937:733049] Starting Firebase plugin

2023-07-15 10:01:27.151604+0300 PickIt[37937:733049] [CDVTimer][firebaseplugin] 5.613089ms

2023-07-15 10:01:27.151721+0300 PickIt[37937:733049] [CDVTimer][TotalPluginStartup] 36.605954ms

2023-07-15 10:01:27.153942+0300 PickIt[37937:733341] registerForRemoteNotifications

2023-07-15 10:01:27.227792+0300 PickIt[37937:733049] FirebasePlugin[native] LOG: GoogleService-Info.plist found, setup: [FIRApp configureWithOptions]

2023-07-15 10:01:27.246745+0300 PickIt[37937:733049] <SKPaymentQueue: 0x600001ef8c00>: No observers found that respond to “paymentQueue:shouldAddStorePayment:forProduct:”, will not check for purchase intents

2023-07-15 10:01:27.258469+0300 PickIt[37937:733049] [Firebase/Crashlytics] Version 9.1.0

2023-07-15 10:01:27.370398+0300 PickIt[37937:733370] [Client] 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.}

2023-07-15 10:01:27.370432+0300 PickIt[37937:733362] [Client] 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.}

2023-07-15 10:01:27.370844+0300 PickIt[37937:733370] [Client] 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.}

2023-07-15 10:01:27.370900+0300 PickIt[37937:733362] [Client] 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.}

2023-07-15 10:01:27.371761+0300 PickIt[37937:733370] [Client] 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.}

2023-07-15 10:01:27.371808+0300 PickIt[37937:733362] [Client] 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.}

2023-07-15 10:01:27.377704+0300 PickIt[37937:733372] [Client] 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.}

2023-07-15 10:01:27.377866+0300 PickIt[37937:733372] [Client] 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.}

2023-07-15 10:01:27.457447+0300 PickIt[37937:733341] _hasPermission: YES

2023-07-15 10:01:27.464204+0300 PickIt[37937:733049] FirebasePlugin[native] LOG: Enter foreground

2023-07-15 10:01:27.476739+0300 PickIt[37937:733049] FirebasePlugin[native] LOG: didReceiveRegistrationToken: euiqjn4kwk-Bh36QEwxdBP:APA91bHnnoZylc7APvYNoC2paaPYzKOBPwi6292ziSMFneCo8jx6haduri4e4J72vZOAfKXNbM5XoDw9C1A95iL9lyzQO-UyO_lPw_lF6jDWGgkoGWSOCbVMqV6pzx815dSKvTF_J_Oh

2023-07-15 10:01:27.754158+0300 PickIt[37937:733049] FirebasePlugin[native] LOG: didRegisterForRemoteNotificationsWithDeviceToken: {length = 80, bytes = 0x807604b1 d34e000e d12e457a de524203 … d94f5b33 df5c915c }

2023-07-15 10:01:28.196239+0300 PickIt[37937:733371] [connection] nw_connection_copy_connected_local_endpoint_block_invoke [C5] Client called nw_connection_copy_connected_local_endpoint on unconnected nw_connection

2023-07-15 10:01:28.196457+0300 PickIt[37937:733371] [connection] nw_connection_copy_connected_remote_endpoint_block_invoke [C5] Client called nw_connection_copy_connected_remote_endpoint on unconnected nw_connection

2023-07-15 10:01:28.198613+0300 PickIt[37937:733371] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C5] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection

2023-07-15 10:01:28.343382+0300 PickIt[37937:733371] [connection] nw_connection_copy_connected_local_endpoint_block_invoke [C6] Client called nw_connection_copy_connected_local_endpoint on unconnected nw_connection

2023-07-15 10:01:28.345053+0300 PickIt[37937:733371] [connection] nw_connection_copy_connected_remote_endpoint_block_invoke [C6] Client called nw_connection_copy_connected_remote_endpoint on unconnected nw_connection

2023-07-15 10:01:28.345506+0300 PickIt[37937:733371] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C6] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection

2023-07-15 10:01:29.170079+0300 PickIt[37937:733049] The preference key “AutoHideSplashScreen” is not defined and will default to “TRUE”

2023-07-15 10:01:28.878313+0300 PickIt[37937:733347] 9.1.0 - [FirebaseCore][I-COR000003] The default Firebase app has not yet been configured. Add FirebaseApp.configure() to your application initialization. This can be done in in the App Delegate’s application(_:didFinishLaunchingWithOptions:)(or the@main` struct’s initializer in SwiftUI). Read more: अपने Apple प्रोजेक्ट में Firebase जोड़ें  |  Firebase for Apple platforms.

2023-07-15 10:01:29.522939+0300 PickIt[37937:733347] 9.1.0 - [FirebaseMessaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you’d prefer to manually integrate Firebase Messaging, add “FirebaseAppDelegateProxyEnabled” to your Info.plist, and set it to NO. Follow the instructions at:

https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging

to ensure proper integration.

2023-07-15 10:01:30.055159+0300 PickIt[37937:733049] Ionic Native: deviceready event fired after 673 ms

2023-07-15 10:01:30.066123+0300 PickIt[37937:733370] registerForRemoteNotifications

2023-07-15 10:01:30.066262+0300 PickIt[37937:733370] _hasPermission: YES

2023-07-15 10:01:30.211487+0300 PickIt[37937:733049] Ionic Native: deviceready event fired after 0 ms

2023-07-15 10:01:30.247031+0300 PickIt[37937:733382] [quic] quic_conn_process_inbound [C7.1.1.1:2] [-cd2c7d2e6cea5cf9] unable to parse packet

2023-07-15 10:01:30.021491+0300 PickIt[37937:733347] 9.1.0 - [FirebaseMessaging][I-FCM023014] Running InstanceID on a simulator doesn’t have APNS. Use prod profile by default.

2023-07-15 10:01:30.776389+0300 PickIt[37937:733349] GoogleTagManager warning: No default container found. Container needs to be added to a container folder and added to the target.

2023-07-15 10:01:30.927041+0300 PickIt[37937:733342] 9.1.0 - [FirebaseAnalytics][I-ACS023007] Analytics v.9.1.0 started

2023-07-15 10:01:31.124245+0300 PickIt[37937:733342] 9.1.0 - [FirebaseAnalytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)

2023-07-15 10:01:33.874904+0300 PickIt[37937:733363] 9.1.0 - [FirebaseAnalytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement

2023-07-15 10:01:34.319305+0300 PickIt[37937:733363] 9.1.0 - [FirebaseAnalytics][I-ACS023012] Analytics collection enabled

2023-07-15 10:01:34.324688+0300 PickIt[37937:733363] 9.1.0 - [FirebaseAnalytics][I-ACS023220] Analytics screen reporting is enabled. Call Analytics.logEvent(AnalyticsEventScreenView, parameters: […]) to log a screen view event. To disable automatic screen reporting, set the flag FirebaseAutomaticScreenReportingEnabled to NO (boolean) in the Info.plist

2023-07-15 10:05:31.393975+0300 PickIt[37937:737990] [connection] nw_read_request_report [C11] Receive failed with error “Operation timed out”

2023-07-15 10:05:31.394502+0300 PickIt[37937:737990] [connection] nw_read_request_report [C11] Receive failed with error “Operation timed out”

2023-07-15 10:05:31.399889+0300 PickIt[37937:737990] nw_endpoint_flow_fillout_data_transfer_snapshot copy_info() returned NULL

My ionic info is:

Ionic:

Ionic CLI : 6.20.3 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.7.2
@angular-devkit/build-angular : 14.2.11
@angular-devkit/schematics : 14.2.11
@angular/cli : 14.2.11
@ionic/angular-toolkit : 7.0.0

Cordova:

Cordova CLI : 11.0.0
Cordova Platforms : ios 6.2.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 5 other plugins)
Utility:
cordova-res (update available: 0.15.4) : 0.15.3
native-run (update available: 1.7.2) : 0.2.9

System:
ios-sim : 8.0.2
NodeJS : v16.15.0 (/usr/local/bin/node)
npm : 9.7.2
OS : macOS
Xcode : Xcode 14.3.1 Build version 14E300c

And my plugins are:
cordova-open-native-settings 1.5.5 “Native settings”
cordova-plugin-device 2.1.0 “Device”
cordova-plugin-firebasex 14.2.1 “Google Firebase Plugin”
cordova-plugin-geolocation 4.1.0 “Geolocation”
cordova-plugin-ionic-keyboard 2.2.0 “cordova-plugin-ionic-keyboard”
cordova-plugin-ionic-webview 5.0.0 “cordova-plugin-ionic-webview”
cordova-plugin-splashscreen 6.0.2 “Splashscreen”
cordova-plugin-statusbar 2.4.3 “StatusBar”
cordova.plugins.diagnostic 7.1.1 “Diagnostic”

Please advise.

Someone has any idea? still have the issue :frowning:

white screens are usually caused by javascript errors, you should learn to debug your app so you see those errors

1 Like