apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.16k stars 988 forks source link

App Stuck on Splash Screen in Xcode 16 only #1500

Open moh1122 opened 1 day ago

moh1122 commented 1 day ago

Bug Report

Problem

What is expected to happen?

The app should launch normally as my build is succeeding. Its now freezing on launch screen without any errors in log. I faced this issue after updating xcode to v 16

What does actually happen?

Its now freezing on launch screen without any errors in log. I faced this issue after updating xcode to v 16

Information

Command or Code

just running the app on a simulator its freezing on launch screen

Environment, Platform, Device

iOS im using Xcode 16

Version information

12.0.0 (cordova-lib@12.0.1)

xcode 16

Checklist

breautek commented 13 hours ago

Its now freezing on launch screen without any errors in log. I faced this issue after updating xcode to v 16

XCode logs or safari JS console?

"Stuck on splash screen" issues is usually a JS error on startup preventing full execution of launch.

Something should be seen if you used the safari web inspector. There is a caveat though, that safari doesn't capture log events until after the inspector is attached. So to see JS startup logs, you'll need to "refresh" the webview after attaching the web inspector. This can be done by pressing cmd + r while the inspector window is focused.