• 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
Referencing build settings in the plist?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Referencing build settings in the plist?


  • Subject: Referencing build settings in the plist?
  • From: Jim Correia <email@hidden>
  • Date: Tue, 4 Nov 2003 23:47:52 -0500

The Project Builder 2.1 release notes said:

	Build settings can now be referenced in the Info.plist Settings
	dictionary of a target.  The syntax is the same as elsewhere, i.e.
	$VAR, $(VAR), and ${VAR} are all recognized.  For example, if you
	have a build setting named CURRENT_VERSION, you can use its value in
	any of the values in the Info.plist dictionary (e.g.
	CFBundleGetInfoString = "MyApp v$(CURRENT_VERSION)").  Any build
	setting reference that either uses invalid syntax or references an
	undefined build setting are left untouchedif, for example, the
	value of the NSHumanReadableCopyright  key is "Shareware $10", the
	$10 part will be left untouched.  Also, only references in
	dictionary values are expandeddictionary keys cannot contain
	references to build settings.	

This didn't appear to work. My recollection was that the release notes weren't accurate and the feature didn't make it in the release, but I can't seem to find that message in my archives or the list archives.

This also doesn't appear to work in Xcode 1.0.1.

Has the feature been dropped? Is something similar being considered?

Is there a solution today for reference build settings in the plist files?

Thanks,
Jim
_______________________________________________
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.

  • Follow-Ups:
    • Re: Referencing build settings in the plist?
      • From: "Ben Kennedy" <email@hidden>
  • Prev by Date: Perforce integration
  • Next by Date: dealing with warnings switches in mixed .c/.m/.cp projects
  • Previous by thread: Perforce integration
  • Next by thread: Re: Referencing build settings in the plist?
  • Index(es):
    • Date
    • Thread