i got an app with sencha touch 2 and phonegap 1.6.1.
I use the Facebook Plugin and Native Plugins.
1. Cause my Development and testing i got an Project with Xcode, with the complete Project from sencha.
All works fine with the iOS Simulator but i want to minify my Project.
The Problem is, if i want to build a package, i get an error with undefined type.
When i start the index.html in the browser an error occurs with the message:
TypeError: 'undefined' is not a function (evaluating 'cordova.exec')
I know that the browser don't know the Cordova Functions but i want to build my app and want to avoid this.
can anyone help me with that?
2. I want to test my app on my real device with Xcode, but it didn't work with the same repo like the Simulator.
I don't need to make any configurations at the app.json or packager,json right?
So i dont understand why it still not work.
I get the Splashscreen and my testing alerts appears.
I got two alerts in sencha-touch.js at the start and the end. These two alerts appear.
My alert at the app.js at the start appears to, but not in my Application Launch function.
To be sure that the installing is right, i make a new app with Xcode, phone gap and sencha. Now with build app package and this works on my device. It works with build package and without any build.
Did anyone know this Problem and can me help out with that?