Re: Versioning / increasing build number

2010-02-09 Thread Austin Ziegler
[I sent this reply privately to Stefan a few days ago and realized that it hadn't come to the mailing list.] On Fri, Feb 5, 2010 at 12:26 PM, Stefan Wolfrum wrote: > Okay, found & read Chris Hanson's blog article from 2005: > http://chanson.livejournal.com/125568.html > > I totally agree with the

Re: Versioning / increasing build number

2010-02-09 Thread Dave DeLong
Another option, which I posted as a comment on my site (linked to previously), is to move Info.plist to Info.template.plist, and then use the build number script to generate the Info.plist that the compiler will actually use. That way you can set an ignore on the generated Info.plist file (if y

Re: Versioning / increasing build number

2010-02-09 Thread Jens Miltner
Just one more thought: you could have a shell script build phase that runs whatever tool you're using to bump the build number and only run this when building the deployment configuration (e.g. by checking ${CONFIGURATION} in your script, or by activating the "Run script only when installing" c

Re: Versioning / increasing build number

2010-02-05 Thread Stefan Wolfrum
thanks a lot for both replies!! I don't know which approach to follow though. I'm currently not using a versioning system so maybe Jonathan's method is sufficient. However, I like Gwynne's method, too... *sigh* But at least: problem solved! Thanks and sorry: I'll spend more time with Google nex

Re: Versioning / increasing build number

2010-02-05 Thread Gwynne Raskind
On Feb 5, 2010, at 1:56 PM, jonat...@mugginsoft.com wrote: >> 2) Right now the file doesn't get built new every time I build my >> application. So the number isn't increasing yet. How can this be achieved? > I use the following in a script phase to get a perpetually increasing build > number. >

Re: Versioning / increasing build number

2010-02-05 Thread jonat...@mugginsoft.com
On 5 Feb 2010, at 10:40, Stefan Wolfrum wrote: > > 2) Right now the file doesn't get built new every time I build my > application. So the number isn't increasing yet. How can this be achieved? > I use the following in a script phase to get a perpetually increasing build number. #!/bin/bash #

Re: Versioning / increasing build number

2010-02-05 Thread Stefan Wolfrum
Okay, found & read Chris Hanson's blog article from 2005: http://chanson.livejournal.com/125568.html I totally agree with the guy who wrote the first comment! So, looks like agvtool is the wrong path to follow if I want an integer build number that just increases everytime I hit cmd-R or cmd-Y o

Versioning / increasing build number

2010-02-05 Thread Stefan Wolfrum
A question about versioning. Information seems a bit sparse on this according to a few Google/cocoa-dev archives/ADC/Apple Discussions searches. I want to have a consecutive build number (an integer counting up each new build) displayed in my application (in an NSTextField, About dialog). Now I