Re: Automate build numbers
Re: Automate build numbers
- Subject: Re: Automate build numbers
- From: Matt Neuburg <email@hidden>
- Date: Sat, 19 Aug 2006 10:09:10 -0700
- Thread-topic: Automate build numbers
On Thu, 17 Aug 2006 21:55:34 +0200, Greg Hurrell <email@hidden> said:
>El 17/08/2006, a las 21:45, Dan Grassi escribió:
>
>> I am looking for a way too automate build numbers, that is
>> increasing them every build. Access via an environment variable
>> might be ideal.
>>
>> 1) Is there such a feature in xcode that I have missed.
>
>The closest thing to an integrated build numbering feature is agvtool.
>
>man agvtool
>
>Personally, I use custom shell script phases to handle my versioning.
One nice thing is that it is now possible to preprocess the info.plist, so
that it takes values from the build environment. I now have e.g.
<key>CFBundleVersion</key>
<string>MYVERSION</string>
where MYVERSION is set under INFOPLIST_PREPROCESSOR_DEFINITIONS. This has
made my life a lot easier than it used to be. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden