Add automatic versioning.
Only the Cocoa application target has a corresponding build script phase at present.