Cordova iOS libMobileGestalt 错误应用程序无法加载

Posted

技术标签:

【中文标题】Cordova iOS libMobileGestalt 错误应用程序无法加载【英文标题】:Cordova iOS libMobileGestalt Error App Fail to Load 【发布时间】:2017-06-08 19:53:47 【问题描述】:

我最近将我的 MacBook Pro 升级到了 macOS Sierra 10.12.5 和 XCode 到 8.3.3。当我尝试启动在以前的 Xcode7 和以前的 macOS 中运行的 Cordova 应用程序时,它无法启动 deviceready。下面的输出就是我得到的全部。有人可以帮我弄清楚为什么我的应用程序将不再加载吗?谢谢!

2017-06-08 15:41:43.539333-0400 MyAppName[462:150991] Apache Cordova native platform version 4.3.1 is starting.
2017-06-08 15:41:43.539937-0400 MyAppName[462:150991] Multi-tasking -> Device: YES, App: YES
2017-06-08 15:41:43.594456-0400 MyAppName[462:150991] Using UIWebView
2017-06-08 15:41:43.595559-0400 MyAppName[462:150991] [CDVTimer][handleopenurl] 0.060976ms
2017-06-08 15:41:43.596922-0400 MyAppName[462:150991] [CDVTimer][intentandnavigationfilter] 1.316011ms
2017-06-08 15:41:43.597009-0400 MyAppName[462:150991] [CDVTimer][gesturehandler] 0.046968ms
2017-06-08 15:41:43.597151-0400 MyAppName[462:150991] [CDVTimer][localnotification] 0.118971ms
2017-06-08 15:41:43.597184-0400 MyAppName[462:150991] [CDVTimer][localnotification] 0.004947ms
2017-06-08 15:41:43.606009-0400 MyAppName[462:150991] [CDVTimer][statusbar] 8.772969ms
2017-06-08 15:41:43.622880-0400 MyAppName[462:150991] [CDVTimer][file] 16.797006ms
2017-06-08 15:41:43.623421-0400 MyAppName[462:150991] Initializing MyPlugin
2017-06-08 15:41:43.623885-0400 MyAppName[462:150991] Initializing MyPlugin API
2017-06-08 15:41:43.625038-0400 MyAppName[462:150991] [CDVTimer][myplugin] 2.103984ms
2017-06-08 15:41:43.625443-0400 MyAppName[462:150991] [CDVTimer][localstorage] 0.369966ms
2017-06-08 15:41:43.625467-0400 MyAppName[462:150991] [CDVTimer][TotalPluginStartup] 29.991031ms
2017-06-08 15:41:43.664677-0400 MyAppName[462:151027] libMobileGestalt MobileGestaltSupport.m:153: pid 462 (MyAppName) does not have sandbox access for frZQaeyWLUvLjeuEK43hmg and IS NOT appropriately entitled
2017-06-08 15:41:43.664724-0400 MyAppName[462:151027] libMobileGestalt MobileGestalt.c:550: no access to InverseDeviceID (see <rdar://problem/11744455>)
2017-06-08 15:41:43.814056-0400 MyAppName[462:150991] Resetting plugins due to page load.
2017-06-08 15:41:44.011163-0400 MyAppName[462:150991] Finished load of: file:///var/containers/Bundle/Application/470C218F-8E80-4218-B2BE-EFF60ACF43CF/MyAppName.app/www/index.html

【问题讨论】:

【参考方案1】:

事实证明,此错误消息不是问题的原因。我在 Cordova 中创建了一个新的 ios 项目并重新添加了我的所有插件,该应用程序现在会触发设备就绪事件。此错误消息仍然存在,但至少该应用程序可以像以前一样工作。

【讨论】:

以上是关于Cordova iOS libMobileGestalt 错误应用程序无法加载的主要内容,如果未能解决你的问题,请参考以下文章

Cordova 平台 ios 错误

Cordova iOS无法打开链接

Cordova 5.3.3 和安装的 Cordova iOS 3.9.1 在 iOS9 中无法访问互联网

IOS Cordova嵌套Cocos Creator的坑

如何在 Visual Studio 2015 Cordova 项目中更新 cordova-ios 版本?

离子cordova运行ios - 导出失败,代码为65