Re: Versions
Re: Versions
- Subject: Re: Versions
- From: Steve Mills <email@hidden>
- Date: Thu, 29 Jan 2004 09:24:03 -0600
Nobody has an answer for this?
From: Steve Mills <email@hidden>
Subject: Re: Versions
Date: Sun, 25 Jan 2004 17:54:55 -0600
To: email@hidden
On Jan 23, 2004, at 21:58, Frank Midgley <email@hidden> wrote:
For Info.plist's at least you can use build variables. Just put
$(MY_BUILD_VARIABLE) wherever you want it throughout the plist file
and
then have that variable defined when you build. This could be
specified in each target's build settings or passed to xcodebuild
like:
xcodebuild -buildstyle Deployment build MY_BUILD_VARIABLE="1.0"
You could have a separate build variable for the copyright year, etc.
OK, I added the variable to my build style. It correctly shows up in
places that take just the variable. But I can't get it into the middle
of a string, such as in my InfoPList.strings:
CFBundleGetInfoString = "Image Chest version $(MY_APP_VERSION),
Copyright 2004 Armpit Studios.";
I tried using rez syntax too:
CFBundleGetInfoString = "Image Chest version "$(MY_APP_VERSION)",
Copyright 2004 Armpit Studios.";
Any idears?
Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.