¡@

Home 

2014/10/15 ¤U¤È 10:03:31

iphone Programming Glossary: agvtool

Version vs build in XCode 4

http://stackoverflow.com/questions/6851660/version-vs-build-in-xcode-4

PlistBuddy c Set CFBundleVersion buildNumber INFOPLIST_FILE As @Bdebeez pointed out the Apple Generic Versioning Tool agvtool is also available. If you prefer to use it instead then there are a couple things to change first Select the Build Settings.. condition when trying to both build and update the source file that includes your build number. Note that with the agvtool method you may still periodically get failed canceled builds with no errors. For this reason I don't recommend using agvtool.. method you may still periodically get failed canceled builds with no errors. For this reason I don't recommend using agvtool with this script. Nevertheless in your Run Script phase you can use the following script DEVELOPER_BIN_DIR agvtool next..