Re: Automatic build number incrementing
Re: Automatic build number incrementing
- Subject: Re: Automatic build number incrementing
- From: Matt Gillette <email@hidden>
- Date: Fri, 27 May 2005 12:32:49 -0700
Hi,
I've just retried all the old solutions from the list archives, using
Perl, shell scripts & Apple scripts, but none of them work with Xcode
2.0, or don't work satisfactorily - i.e. I want to increment
CFBundleVersion (and possibly CFBundleShortVersionString &
CFBundleGetInfoString), not some arbitrary constant in some source
file.
Not sure if you know this, but you can put a variable into
CFBundleShortVersionString, and then set that variable in the XCode
build settings.
For example, I have CFBundleShortVersionString = $(VERSION_STRING)
and the $(VERSION_STRING) is a variable in the xcode target build
setting that I increment with a perl script in my makefile (i use
xcodebuild). I haven't tried with 2.0 but something very similar should
work. And if agvtool works then you can just use that variable. Agvtool
in 1.5 wouldn't allow a major.minor.revision version and the
marketing-version never worked :(.
Matt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden