Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Versions



On Jan 29, 2004, at 9:24AM, Steve Mills wrote:

Nobody has an answer for this?

From: Steve Mills <email@hidden>

OK, I added the variable to my build style. It correctly shows up in
places that take just the variable. But I can't get it into the middle
of a string, such as in my InfoPList.strings:

CFBundleGetInfoString = "Image Chest version $(MY_APP_VERSION),
Copyright 2004 Armpit Studios.";

I tried using rez syntax too:

CFBundleGetInfoString = "Image Chest version "$(MY_APP_VERSION)",
Copyright 2004 Armpit Studios.";

Any idears?

It appears that Xcode only inserts the build variable into the Info.plist file, not the InfoPlist.strings. You'll probably need to use David Wollner's suggestion of post processing with a shell script or you could de-localize these entries and only have them in the Info.plist.


-Frank

------------------------------------
Frank M. Midgley
email@hidden
http://homepage.mac.com/knarf/
_______________________________________________
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.

References: 
 >Re: Versions (From: Steve Mills <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.