Unanswered: Updates not reflected on iOS Simulator after rebuild
Unanswered: Updates not reflected on iOS Simulator after rebuild
Hi,
Not sure if this is a Sencha issue or a Phonegap issue. I am working on a project using Phonegap 2.2.0 & Sencha Touch 2.1. Whenever I make a change in a JS file and rebuild the project using Xcode, in order for the change to be reflected in the iOS simulator I have to uninstall the old version first.
I have gotten inconsistent results from the combination of XCode/PhoneGap/Sencha unless I do this. Sometimes the app would immediately exit in the sim, sometimes the code changes wouldn't be reflected. So my workflow now is to create the Sencha app, and work on it in the browser for a while, then when I get to a testing point, I'll have Sencha cmd build the package. I've got the PhoneGap project pointing it's www directory to the package output directory via a symlink. So when I want to test in the simulator, I switch to XCode, clean the build, then hit run in simulator. It's a little longer, but the Sencha code is decoupled from the XCode project and the PhoneGap code, plus I don't have to spend the extra time wondering why things aren't working right in the simulator when I know the code I just wrote is there.