How to auto increment build number in Xcode -
i found many solutions , scripts on site, easiest solution increase build number in xcode is:
go build phases in targets section , add run script build phase:
change shell /bin/bash , insert following script:
#!/bin/bash buildnumber=$(/usr/libexec/plistbuddy -c "print cfbundleversion" "$infoplist_file") buildnumber=$(($buildnumber + 1)) /usr/libexec/plistbuddy -c "set :cfbundleversion $buildnumber" "$infoplist_file"
have fun! :)
Comments
Post a Comment