Xcode auto-increment build on archive

Simple script to bump the build number of my Xcode project on each Archive. The version number I am leaving as a manual change for the moment, but each time I release a build to testers, I want the build to change and a commit message for the change. In Xcode from the menu go to Product -> Scheme -> Edit Scheme On the side, expand the Arhive build and select Pre-actions. Here we will edit the pre-action script to increment the build number. Choose to provide the build settings from your main app target and in the script pane add: ...

1 min · Damien Pontifex