iOS Phonegap Infinite Dialog error when running application? iOS Phonegap Infinite Dialog error when running application? xcode xcode

iOS Phonegap Infinite Dialog error when running application?


More than likely you are using the Android version of phonegap.js. Each platform has it's own phonegap.js so you have to make sure you are using the right one. I know it is confusing but we are working on it.


Just change the script tag from:

<script type="text/javascript" src="cordova.2.0.0.js"></script>

to:

<script type="text/javascript" src="phonegap.js"></script>


Another solution that I found was to just use "phonegap.js" (and I don't even have that file included) and when I added my .zip file to build it seemed to automatically add the correct version for me. I noticed the phonegap getting started app didn't include an version of the .js file and that gave me the idea.