Setting version info during scripted building
Setting version info during scripted building
- Subject: Setting version info during scripted building
- From: Timothy Standing <email@hidden>
- Date: Wed, 13 Mar 2002 12:17:22 -0800
--
Hello -
I setting up a build system to build the various executables
which will be delivered as part of the Mac OS X version of SoftRAID.
Past experience has taught me that I am much less likely to introduce
bugs if I script the entire build system and can build a beta or
final release of a product by typing a single command in and hitting
<return>.
I have therefore set up a scripted build system which uses
pbxbuild to build all of the executables. I would like to be able to
set the version information for all the executables in one text file
and then have it used when each executable is built. This would
include setting the version information in the following places: 1)
the CFBundleVersion in the Info.plist and 2) the
CFBundleShortVersionString and the CFBundleGetInfoString in each of
the localized versions of the InfoPlist.strings.
I have played around with the agvtool but the documentation
only says that it changes the CFBundleShortVersionString (if you use
the new-marketing-version option). In addition, it appears to be
only capable of setting a version which is in a float format (for
cvs?) rather than the standard Mac formatted version which is a
NumVersion record stuffed into a long.
Can anyone give me a pointer on how to do this? Is there a
#define I can set as a pbxbuild option which will set the version?
Tim Standing
SoftRAID, LLC
P. S.: For those of us who are new to Cocoa, the archives of this
list (and the one at www.omnigroup.com) have been incredibly helpful.
Thanks to all of you who take your time to bring newcomers like me up
to speed.
_______________________________________________
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.