Find it on GitHub.
Build Incrementer is an extremely lightweight and simple Mac OS X command line tool that increments Xcode project build numbers.
Building The Tool
You can build
Build Incrementer yourself by downloading the project and building it in Xcode. Alternatively, you can use the precompiled binary provided.
Using Precompiled Binary
Once you’ve built the project or you chose to use the precompiled binary, navigate to
/usr/local/bin and copy the binary file here. You can technically place the binary anywhere you like but I recommend this location.
1. Navigate to
2. Copy the binary file here. You can technically place the binary anywhere you like but I recommend this location.
3. Open an Xcode project for which you’d like to use the
4. Open the Scheme Editor, located in the top left of the Xcode project window
5. In the Scheme Editor, navigate to
Pre-actions and click
+ in the lower left of the pane to add a new script action.
6. Execute the script, passing in the path to the
Pay close attention to where it says
Provide build settings from. In my case, the application name is
DrawPoint. You MUST select your app name here, otherwise
Build Incrementer will not be passed the correct parameters and therefore will not work.