Re: How to set ${MODULE_VERSION} str in InfoPlist.strings
Re: How to set ${MODULE_VERSION} str in InfoPlist.strings
- Subject: Re: How to set ${MODULE_VERSION} str in InfoPlist.strings
- From: Scott Tooker <email@hidden>
- Date: Thu, 23 Jun 2005 13:09:14 -0700
On Jun 23, 2005, at 11:26 AM, Allen Cronce wrote:
Hi Scott,
Thanks for getting back to me. The issue is that we have version
information, like CFBundleGetInfoString, in the localized strings.
Other kext's seem to do this, including some of Apple's.
But I suppose the work around would be to limit the contents of the
localized strings to the basics like CFBundleName and
NSHumanReadableCopyright, and not include any strings that would
require version information. I suppose that I'll do that for now.
That's a good idea. We actually don't recommend localizing
CFBundleGetInfoString these days.
BTW, under Tiger you must have a match between the baked in module
version and the info.plist or the kext won't load. Given that
keeping these version numbers in sync is required now, it would be
nice that when we create a new kext project it uses the $
{MODULE_VERSION} reference in the info.plist created.
Please file a bug on this so we can track it.
Scott
Best regards,
--
Allen Cronce
Scott Tooker wrote:
Right now we don't support macro expansion in InfoPlist.strings
files. Why do you need to reference $(MODULE_VERSION) for
localized strings?
Scott
On Jun 23, 2005, at 10:16 AM, Allen Cronce wrote:
Hi all,
I want to have one place where I set the module version for a
kext, preferably in the MODULE_VERSION at the project or target
level. I'm thinking about using a config file so that the
version is shared, and possibly set by build automation.
I've found that I can use ${MODULE_VERSION} in the info.plist to
specify the version string. When the kext builds, the actual
info.plist has the correct version numbers as specified in the
target settings. Very nice.
But if I try to use ${MODULE_VERSION} in the InfoPlist.strings,
the substitution is not made. Can anyone tell me how I can get
the module version as specified in the target into the
InfoPlist.strings file?
Thanks in advance.
Best regards,
--
Allen Cronce
_______________________________________________
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
_______________________________________________
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