• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to set ${MODULE_VERSION} str in InfoPlist.strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to set ${MODULE_VERSION} str in InfoPlist.strings


  • Subject: Re: How to set ${MODULE_VERSION} str in InfoPlist.strings
  • From: Allen Cronce <email@hidden>
  • Date: Thu, 23 Jun 2005 11:26:01 -0700

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.

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.

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


  • Follow-Ups:
    • Re: How to set ${MODULE_VERSION} str in InfoPlist.strings
      • From: Scott Tooker <email@hidden>
References: 
 >How to set ${MODULE_VERSION} str in InfoPlist.strings (From: Allen Cronce <email@hidden>)
 >Re: How to set ${MODULE_VERSION} str in InfoPlist.strings (From: Scott Tooker <email@hidden>)

  • Prev by Date: Framework Issues
  • Next by Date: Re: New to Xcode and need help
  • Previous by thread: Re: How to set ${MODULE_VERSION} str in InfoPlist.strings
  • Next by thread: Re: How to set ${MODULE_VERSION} str in InfoPlist.strings
  • Index(es):
    • Date
    • Thread