Results 1 to 2 of 2

Thread: Referencing cordova-2.2.0.js in app.json js object causes app not to start

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Jun 2012
    Vote Rating

    Default Referencing cordova-2.2.0.js in app.json js object causes app not to start

    I am working on a project using Sencha Touch 2.1 wrapped in Phonegap 2.2.0.

    If (as advised) I specify the phonegap JS file as a dependency in the app.json file, rather than loading it as a script tag in index.html, upon fresh install to the iOS Simulator, the app starts, but the launch function is not fired. It subsequently works properly after starting it again.

    If I remove the app from the simulator and re-install it, the problem always recurs on first execution.

    If I remove the reference from app.json and put it as a script tag in index.html, it seems to work properly.

    Any ideas as to what is going on here?


  2. #2
    Sencha User bricemason's Avatar
    Join Date
    Jan 2008
    Upstate NY
    Vote Rating


    I've tried every which way to replicate this but I can't. Do you see this condition when targeting a specific scheme in Xcode? Have you tried to clean the simulator by any/all the following?:

    In Xcode, go to Window > Organizer, then delete Derived Data.

    In Xcode, use the key sequence Command+Option+Shift+K to clean the build

    In iOS Simulator, go to iOS Simulator > Reset Content and Settings...

    Have you used weinre in an extra attempt to debug?

    Brice Mason
    Front End Developer
    Modus Create


    Sencha Touch Screencasts
    Vimeo - Sencha Touch Channel

    Github Projects:
    Sencha Cordova Builder enables the automatic creation, building, and running of PhoneGap (Cordova) projects with Sencha Touch.

    Am I Sencha Touch Ready? checks your system to determine what you need to do to start Sencha Touch development. If you're having trouble getting up and running, try this out.

    Sencha Tools Bridge allows Sencha SDK Tools to co-exist with Sencha Cmd on the same system.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts