Titanium Community Questions & Answer Archive

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

code to change application version

Hey,
Is there any way to change the application version from some sort of code. I want to change the app version from 1.0 to 2.0 without going to 'edit tab -> version' of Titanium Developer but only with code. please suggest.
Thanks.

— asked October 20th 2010 by Amit Srivastava
  • change
  • version
0 Comments

4 Answers

  • Would be very helpful.
    Also, I've changed the version # to 1.1.0 and it generates 1.1.0.1300133125.
    But I only want 1.1.0.
    Is there a way to manage that?
    Thanks for the help

    — answered March 14th 2011 by Robin D. (Perspecteev)
    permalink
    0 Comments
  • Go to your "tiapp.xml" file and edit the <version></version> integer.

    Is that what you meant?

    — answered March 14th 2011 by Colton Arabsky
    permalink
    0 Comments
  • Can I ask why you just don't use the tool thats built in already? I've changed mine from 1.0 to 1.1 for a minor update just using Titanium and it worked fine, I was still able to use the same provisioning profiles and certificates to build.

    — answered March 15th 2011 by Josh Lewis
    permalink
    0 Comments
  • It's not exactly what I want

    If I set <version>1.1.0</version> then I generate the ipa, the version of the app is 1.1.0.1300133125
    But I want the version of the app to be 1.1.0

    Thanks

    — answered March 15th 2011 by Robin D. (Perspecteev)
    permalink
    0 Comments
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.