Re: Versioning via build settings?
Re: Versioning via build settings?
- Subject: Re: Versioning via build settings?
- From: Joachim <email@hidden>
- Date: Wed, 21 Dec 2005 12:24:05 -0800
On 21-Dec-05, at 8:07 AM, Alastair Houghton wrote:
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.
I tried both and it's my understanding that they're interchangeable.
The whole idea came from watching Apple's excellent "WWDC Session
402: Adopting Xcode (Hands-On)" video on
http://developer.apple.com/
transition/. In that video he uses parentheses, although the default
Info.plist generated by XCode uses curly brackets.
Joachim
_______________________________________________
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