In my app I am using the agvtool
to update the build number. I would now like to have the version of my app that appears in the settings to display this number and have it update automatically.
I have seen a few apps work around this by writing a script to ready the value and populate the value then in the root.plist
. I was wondering if there is a more elegant way of doing this.
It looks like the only way is to create a script to extract the number and update the plist file. The following site give a good description of what the script needs to contain
http://davedelong.tumblr.com/post/110448898058/incrementing-build-numbers-in-xcode