In Xcode, I want to set the project bundle version to the git hash, to create a unique link between a revision and a build.
(I have seen several postings about this that
There have been quite a few ways to do this.
I used to run a post build script to inject the sha into the bundle:
https://gist.github.com/208825
But a more modern method is on the Cocoa is my Girlfriend blog http://www.cimgf.com/2011/02/20/revisiting-git-tags-and-building/