Titanium Community Questions & Answer Archive

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

How are you managing Dev and Prod version of you app?

I'm trying to figure out a best practice for keeping a dev and production version of the app. As far as I know, to get 2 versions of the same app on a phone, they have to have a different name. In order to get that from Titanium, they need to be two different projects.

Here is what I'm currently doing, but it seems a little kludgey.

Create two projects, WTFAYdev and WTFAY. I'm using the same app id for both (com.wtfay.wtfay). I do my development in the WTFAYdev project. When I'm ready to submit to the app store, I copy the resources directory to the 2nd project and build/submit from there.

After the app is in the store, I can then have both versions on my iphone. My dev to prod migration is manual, but I plan to use git in a smarter way to manage both projects.

Anyone have a better way of doing this?

I won't complicate this by talking about push credential management, but I've also got Urban Airship integrated into the app.

— asked August 4th 2010 by Curtis Olson
  • configuration
  • iphone
0 Comments

2 Answers

  • If I were you, I would just keep a single version of the project, but version control your source code with SVN or Git. Make thorough comments when you check code in so you can view your progress in a version log. You can export (branch) versions of your code, rollback when needed, and keep new development moving forward without having duplicate code everywhere.

    Just my two cents. Good luck!

    — answered August 5th 2010 by Clifton Labrum
    permalink
    1 Comment
    • Normally, I would agree with your approach, but with your solution, you can't get two different versions of the app on you phone. I want a stable, demo-able version on my phone and also a dev version for development. Are you table to get multiple versions of you app on your phone?

      — commented August 5th 2010 by Curtis Olson
  • Is there a switch somewhere to turn off development mode when building to device? I want to demo this to clients in prod mode and not get verbose errors?

    Thanks.

    — answered August 15th 2010 by Dustin Anderson
    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.