Re: Build settings referenced in Info.plist settings dict.
Re: Build settings referenced in Info.plist settings dict.
- Subject: Re: Build settings referenced in Info.plist settings dict.
- From: Michael Latta <email@hidden>
- Date: Fri, 27 Dec 2002 17:31:10 -0800
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.