• 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: Build settings referenced in Info.plist settings dict.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build settings referenced in Info.plist settings dict.


  • Subject: Re: Build settings referenced in Info.plist settings dict.
  • From: Keith Renz <email@hidden>
  • Date: Fri, 27 Dec 2002 20:36:38 -0500

Bummer. Thanks for the quick reply.

Keith

-----

On Friday, December 27, 2002, at 08:31 PM, Michael Latta wrote:

There were several messages on this topic. This feature did not actually make it into the December tools.

Michael


On Friday, December 27, 2002, at 05:13 PM, Keith Renz wrote:

(This is a duplicate post from the Project Builder - Users list. No responses in 6 days, so I figured I'd try here.)

I'm trying to one of the new features documented in the PB 2.1 release notes.

Under "Build settings changes", the 8th bullet says, "Build settings can now be referenced in the Info.plist Settings dictionary of a target." It then gives an example. I am basically trying to do the exact same thing as the example, that is, add a version number to the build settings and reference it in the Info.plist dictionary, instead of entering the version number several times in different places.

In the Target window -> Settings -> Expert View, I added a Build Setting named CURRENT_VERSION (just like the example) with a value of "5.0d6" (without the quotes). In the same window -> Info.plist Entries -> Expert View, I substituted "$(CURRENT_VERSION)" (without the quotes) for several property list values, ex. for CFBundleGetInfoString, I used "$(CURRENT_VERSION). Copyright ) 2002 Crewdog Software. All Rights Reserved." (without the quotes). I then built the target. It doesn't work. all the CURRENT_VERSION references ($(CURRENT_VERSION)) do not substitute the build setting's value. In the Finder and About box, I see "$(CURRENT_VERSION)" instead of the build setting's value, "5.0d6". I even cleaned the target and trashed the built app -- no difference. What am I doing wrong?

Thanks,

Keith
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Build settings referenced in Info.plist settings dict. (From: Michael Latta <email@hidden>)

  • Prev by Date: Re: Build settings referenced in Info.plist settings dict.
  • Next by Date: WebServices frameworks in CoreServices and Attachements??
  • Previous by thread: Re: Build settings referenced in Info.plist settings dict.
  • Next by thread: signal documentation
  • Index(es):
    • Date
    • Thread