Auto incrementing build number in Xcode revisited
July 29, 2015
For sometime now, I’ve been using the script in the post The Best of All Possible Xcode Automated Build Numbering Techniques to automatically update the build number in Xcode based on the number of git commits.
Unfortunately this script doesn’t update the version number in the dSYM bundle, which causes Hockey to complain when uploading a new build.
A quick search found the answer in a comment on this post A sensible way to increment bundle version (CFBundleVersion) in Xcode
Here’s the complete script: