Trying to get phonegap to work on an iPhone.
With a completely blank project, except for jsconsole for debbuging and the cordova.ios.js file, I keep getting errors as soon as the app loads:
TypeError: 'undefined' is not a function
I cant get anything more out of the stacktrace. Why could I be getting a TypeError? Completely running out of ideas here.
The HTML file:
What does your project directory structure look like?
My guess is that this is related to the
src="cordova.ios.js" link, have you tried specifying an absolute or root-relative (
/path-to-file/cordova.ios.js) path to the js file?