【问题标题】:Why I am geeting white blank screen while launching the iOS Cordova App?为什么我在启动 iOS Cordova 应用程序时出现白色空白屏幕?
【发布时间】:2018-08-25 15:39:15
【问题描述】:

我在随机启动 iOS Cordova 应用程序时出现白色空白屏幕。我在 Xcode 上获得了以下日志。

 2018-03-28 19:13:32.425 Mobile_iOSApp[36112:484827] Apache Cordova native platform version 4.5.3 is starting.
    2018-03-28 19:13:32.426 Mobile_iOSApp[36112:484827] Multi-tasking -> Device: YES, App: YES
    2018-03-28 19:13:32.446 Mobile_iOSApp[36112:484827] initializing SVBMobileSharedSpace sharedManager
    2018-03-28 19:13:32.488 Mobile_iOSApp[36112:484827] Using UIWebView
    2018-03-28 19:13:32.489 Mobile_iOSApp[36112:484827] [CDVTimer][handleopenurl] 0.059962ms
    2018-03-28 19:13:32.491 Mobile_iOSApp[36112:484827] [CDVTimer][intentandnavigationfilter] 1.289964ms
    2018-03-28 19:13:32.491 Mobile_iOSApp[36112:484827] [CDVTimer][gesturehandler] 0.058055ms
    2018-03-28 19:13:32.504 Mobile_iOSApp[36112:484827] [CDVTimer][file] 12.962937ms
    2018-03-28 19:13:32.514 Mobile_iOSApp[36112:484827] [CDVTimer][splashscreen] 9.267926ms
    2018-03-28 19:13:32.514 Mobile_iOSApp[36112:484827] [CDVTimer][localstorage] 0.261068ms
    2018-03-28 19:13:32.514 Mobile_iOSApp[36112:484827] [CDVTimer][TotalPluginStartup] 24.904013ms
    2018-03-28 19:13:32.619 Mobile_iOSApp[36112:484827] Resetting plugins due to page load.
    2018-03-28 19:13:33.184 Mobile_iOSApp[36112:484827] Finished load of: file:///Users/myuser/Library/Developer/CoreSimulator/Devices/F6A408EE-EAD1-450A-A8A8-C0D098B86262/data/Containers/Bundle/Application/AECF4BF9-77B6-4A31-B3D3-086DF11A6215/Mobile_iOSApp.app/www/index.html

我不是每次都收到这个错误。

【问题讨论】:

    标签: ios cordova phonegap-plugins phonegap


    【解决方案1】:

    此问题已在 Cordova 8.0.0 中修复。将您的 Cordova 框架升级到版本 8.0.0 并替换 www 文件夹中的 Cordova.js 文件。

    【讨论】:

    • 您能提供此信息的来源吗?我想我也有同样的问题。
    猜你喜欢
    • 2018-03-18
    • 2017-01-13
    • 2021-10-05
    • 2013-12-18
    • 2020-06-23
    • 1970-01-01
    • 2018-06-19
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多