PhoneGap, iOS 6.1 shows weird alert on launch and hangs at load screen

你离开我真会死。 提交于 2019-12-11 10:34:33

问题


I've built the app in Sencha Touch 2.1.1. It's packaged using PhoneGap. It runs fine as a packaged web app. As soon as the app in the simulator gets past the initial Cordova splash screen I get an alertbox this alert:

I'm not sure what's causing this alert. Also, after I click OK it just hangs at the loading screen.


回答1:


Maybe this answer can be useful for someone else who find this question searching for a solution. I had the same problem and I solved it: the problem was that the cordova-2.7.0.js file in my iOs project was generated in Android and then copied in the iOs project.

Beware: the cordova-x.x.x.js file is PLATFORM DEPENDENT. So you have to include the right one.



来源:https://stackoverflow.com/questions/16302216/phonegap-ios-6-1-shows-weird-alert-on-launch-and-hangs-at-load-screen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!