Re: Automagic version updates
Re: Automagic version updates
- Subject: Re: Automagic version updates
- From: Kevin Grant <email@hidden>
- Date: Sun, 28 Mar 2004 18:09:29 -0600
I am looking for a way to have CFBundleGetInfoString automatically
include the CFBundleShortVersionString. This would allow the version
to be displayed in the finder.
Has anyone got a strategy for doing this in xCode?
If you use Xcode's normal "YourApplication-Info.plist" template, then
you set much of this information using the Target inspector. When you
do that, you can actually embed Xcode variables (although sometimes the
GUI doesn't give you much typing space).
In the Target inspector, first go to the Build tab and define a new
variable, e.g. "MY_INFO_STR", and give it the desired value.
Then, in the inspector's Properties tab, choose to open the .plist as a
file, find the XML tags you want, and simply enter variable syntax
where appropriate: $(MY_INFO_STR) in this case.
When you build, Xcode will automatically substitute the value that you
give in the Build tab, when creating the final Info.plist file.
Kevin G.
http://homepage.mac.com/kmg/
mail to kevin at ieee dot org
_______________________________________________
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.