Phonegap / Cordova - Creating an iOS Mendix app

1
I'm getting errors running the example for Phonegap / Cordova for iOS: 2012-09-10 22:45:16.077 Cam5[10593:13403] Multi-tasking -> Device: YES, App: YES 2012-09-10 22:45:16.117 Cam5[10593:13403] WARNING: Splash-screen image 'Default-Portrait' was not found. Orientation: 1, iPad: 1 2012-09-10 22:45:16.488 Cam5[10593:13403] [ERROR] {"message":"'null' is not an object"} 2012-09-10 22:45:16.489 Cam5[10593:13403] [ERROR] {"message":"'null' is not an object"} 2012-09-10 22:45:16.536 Cam5[10593:13403] [ERROR] {"message":"Can't find variable: i18n"} 2012-09-10 22:45:16.537 Cam5[10593:13403] [ERROR] {"message":"Can't find variable: i18n"} I'm using Xcode 4.4 and tried Phonegap 1.7, 1.9 and 2.0. I keep getting these errors. Anyone successful in creating a Phonegap / Cordova app for iOS? == edit == I get the errors at the moment I run the application. Phonegap is working fine with the example they provide themselves. Adding the Mendix stuff (mxapp-min.js and index.html), changing the url to my own url (https://fraternit-test.mendix.nl) the above errors emerge.
asked
1 answers
3

Issue solved.

Problem is that a new version of the Phonegap / Mendix template (mx-cordova-www-template) was made available thru github. This version has to be used in combination with Mendix 4.2, which is not available yet.

The right version you can find here: https://github.com/mendix/mx-cordova-www-template/tags. Use the zipfile with the name

v4.1.1.zip — Make a tag for mendix versions before 4.2.
answered