-->

PhoneGap, iOS 6.1 shows weird alert on launch and

2019-08-08 09:13发布

问题:

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.