I am trying to implement the answer here:
Better way of incrementing build number?
but cannot get it to work properly. It fails with error 2 saying “No build number in plist”
But if I put a build number in my plist, the script clears it on the next build, then the same thing happens all over again.
Any ideas?
Here’s how I increment build numbers:
In the Target > Summary tab, set the initial build #

Then use this script to increment the build number:
or if you want build numbers in hex: