Cordova iOS libMobileGestalt错误应用无法加载

时间:2017-06-08 19:53:48

标签: javascript ios xcode cordova

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

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 个答案:

答案 0 :(得分:0)

It turns out this error message wasn't the cause of the problem. I created a new iOS project in Cordova and re-added all my plugins and the app now fires device ready event. This error message remains but at least the app is working as it did before.