Re: Plist not being updated
Re: Plist not being updated
- Subject: Re: Plist not being updated
- From: David Dunham <email@hidden>
- Date: Tue, 4 Dec 2007 19:35:14 -0800
On 4 Dec 2007, at 18:42, Chris Hanson wrote:
You don't need to turn on Info.plist preprocessing just to have
build settings expanded in your Info.plist file - build settings
enclosed in ${} are always expanded in Info.plist files. Info.plist
*also* runs the C preprocessor on your Info.plist file, which isn't
something you necessarily want in most cases.
We want the same version number available to both Mac and Windows
builds. I think preprocessor is the only way here.
In general, I strongly recommend people *not* use Info.plist
preprocessing unless it is *absolutely required* for how their
project is structured. Applying a text-substitution preprocessor
into your Info.plist means that it no longer valid XML or a valid
plist, which means that you can't use any tools that know how to
work with property lists or XML to manipulate it in ways that are
guaranteed to be valid.
I think we're good --
<string>MAC_SHORT_VERSION_STRING</string>
is valid (if incorrect) even if not preprocessed.
David Dunham Macintosh Game Developer
GameHouse Studios +1 206 926 5722 www.gamehouse.com
"They said it couldn't be done but sometimes it doesn't
work out that way." -- Casey Stengel
_______________________________________________
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