This question already has an answer here:
- Better way of incrementing build number? 21 answers
I was wondering if Xcode 5 is providing a setting to automatically count up the Build number found under General in the Identity section of the project navigator.
But afaik you still have to do it with scripting, using PlistBuddy.
One simple solution is to increase the build number in Xcode 5 is posted below:
Go to Editor -> Add Build Phase -> Add Run Script Build Phase
Go to Build Phases in the project navigator and edit Run Sript. Change Shell to /bin/bash and paste the following script:
Don't forget to change the Build number found under General in the Identity section from 1.0 to 1
Have fun! :)
I found this tutorial on Cocoa Factory