Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Install on Device bug : app not updating on first build

Actually i seen this behavior on last version but not certain but this time i am!

With 1.3.2, Install app aka Run on Device is buggy, sometimes it builds really fast, like less than 10 seconds, others took at least 3 times as long. The short version, despite the whole update progress went though, it never updated app on the device. only the long version does! I have tried this over, at least 20-30 times now? Same result observed.

So now, whenever i have to test app on the device, i have to build twice to make sure it's installed correctly. That make me wonder about the production build!

— asked July 12th 2010 by Daniel Lim
  • 1.3.2
  • bug
  • build
  • device
  • install
  • mac
  • on
  • osx
  • pro
0 Comments

6 Answers

  • Same problems here. Except it takes sometimes more than just 2 tries to get the latest version onto the iPhone.

    — answered July 12th 2010 by Dominik Hahn
    permalink
    1 Comment
    • Good to know. Thanks

      — commented July 12th 2010 by Daniel Lim
  • If you suspect that there were issues in building your project, check build/iphone/build/build.log for detailed build output - you will usually notice an error at the bottom of that file (if there was one).

    — answered July 12th 2010 by Kevin Whinnery
    permalink
    1 Comment
    • Thanks Kevin,

      Quick question. If i were to make changes to current build SDK objective-C file, such as this below. All i have to do is go to my project folder, edit the class file in question and save it right?

      http://github.com/appcelerator/titanium_mobile/commit/782d970f785fd3cb3bfe4fbfdb479089b9aa2869

      my project folder/build/iphone/Classes/TiUIiOSAdView.m

      — commented July 12th 2010 by Daniel Lim
  • Same problem. 1.3.3, iPhone SDK 4.0, 3G phone. libTiCore patch in place.

    Fresh clean project.

    I've actually seen it replace my Default image correctly on the first install to device, but not update the rest of the app.

    Most recent instance:
    First install, approx 16 seconds until it switches to iTunes. Install not completed correctly. Mac CPU temp rises 2 or 3 degrees.

    Second install, approx 67 seconds until it switches to iTunes. Install is complete. Mac CPU temp rises 16 to 20 degrees … a good indication that a lot more is going on during the second install attempt.

    — answered July 13th 2010 by Mel Bass
    permalink
    0 Comments
  • me too

    what i do now is - build for device, when it says replace, click cancel and then click install again, seems to work,
    and yes i have spent ages wondering why the changes i made don't seem to be working, i also change a label name sometimes to confirm it's the latest build

    iphone

    — answered July 13th 2010 by Robert Greenock
    permalink
    1 Comment
    • Sounds good, I will give it a try. :-)

      — commented July 13th 2010 by Dominik Hahn
  • In answer to Kevin Whinnery the build log says…

    BUILD SUCCEEDED

    — answered August 7th 2010 by Justin Vincent
    permalink
    0 Comments
  • Same here. What's going on. Please answer appcelerator folks!

    — answered August 7th 2010 by Justin Vincent
    permalink
    1 Comment
    • I had a previous comment in here 4 weeks ago. This issue is now corrected for me after updating to 1.4

      — commented August 7th 2010 by Mel Bass
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.