dimanche 23 mars 2014

Sencha Cmd v4.0.4 Beta App fails to launch on iOS Simulator and iPhone

G'day Sencha,



I am using the latest Beta version of Sencha Cmd v4.0.4.82 with Sencha Architect 2.2.3.1044 and Sencha Touch 2.2.1 framework.



I can publish my app to a local webserver and it loads in Chrome with no errors.



I cannot package and run under iOS Simulator nor can I package and run on a development iPhone where the app package is uploaded via drag and drop into xCode Organiser.



I have modified the generated index.html and app.js in the build directory to insert some additional document.write('...') statements at various stages. I can confirm that the app gets to the app.js file - but the document.write('...') I inserted as the first statement in the launch function is not output on the device like all the others. So - I can only conclude that the launch function has not been called.



I created a very small test app that had the same configuration, packager.json and certificates as the app above - and it worked without any errors.



I can only conclude that the app has failed to load and it has aborted. Any idea how I can debug and trace this?



Regards,



Darryl




Aucun commentaire:

Enregistrer un commentaire