Automatic versioning
Automatic versioning
- Subject: Automatic versioning
- From: "Jim Thomason" <email@hidden>
- Date: Fri, 2 Feb 2007 21:54:19 -0600
In perusing the various archives, this does appear to be a topic of
discussion that comes up pretty regularly, but I didn't find any
definitive (or clear, at least) answers.
Here's what I want - a build number that auto-increments every time I
build and does so without my needing to fiddle with it. I'm not
talking about the external user defined version number (1.0.7 or
whatever), I'm talking about a count of how many times I clicked the
"Build button" (368). Possibly of dubious utility, but I've just got a
static build number otherwise.
So I found this writeup http://chanson.livejournal.com/125568.html and
it was pretty good. Explained what to configure and using agvtool and
whatnot, except it had the annoying middle step of exiting the
project, running the command, and popping back in. Not automatic at
all. if I'm going to go to the trouble of quitting and returning just
to increment the number before a release, I'd much rather just
manually edit the plist myself. I want it completely automatic and
transparent to me.
I found suggestions to use a shell script phase to automatically run
agvtool during a build, but that always causes xcode to gripe about
the project being externally modified and wanting me to reload from
disk. Again, it's a hassle that gets in my way and disrupts the flow
so I'm just not interested in it. It's the closest I've gotten to
doing what I want, though.
Hence, like so many before me, I appeal to the world. Anybody have a
way to do this easily, automatically, and all from within xcode?
Thanks,
-Jim.....
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden