Re: Versioning via build settings?
Re: Versioning via build settings?
- Subject: Re: Versioning via build settings?
- From: Alastair Houghton <email@hidden>
- Date: Wed, 21 Dec 2005 16:07:12 +0000
On 21 Dec 2005, at 07:17, Joachim wrote:
Dear fellow XCoders,
I'd like to semi-automate the versioning of my app. My app consists
of more than one executable, so instead of editing several
Info.plists directly, I'd like to set the info in one place only.
I've tried to implement it via XCode's 2.2 build settings in a
number of ways, but none of the methods work. In all cases the
relevant section of the Info.plists look like this:
<key>CFBundleShortVersionString</key>
<string>$(MY_VERS_NO)</string>
<key>CFBundleVersion</key>
<string>$(MY_BUILD_NO)</string>
I don't use that functionality myself, *but* I do notice that you are
using parentheses (round brackets) rather than braces around the
names of the things to be substituted. It's very easy to get caught
out with this because {} and () look similar in some fonts,
especially if you get aliasing with the parens at a particular size.
Anyway, it's worth trying braces {} rather than parens () as Xcode
uses braces for other substitution and this has tripped me up more
than once.
Kind regards,
Alastair.
--
http://www.alastairs-place.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden