Skip to content

Instantly share code, notes, and snippets.

@olgusirman
Last active April 22, 2020 22:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olgusirman/c111393fd44695aadba5f7b69e63176b to your computer and use it in GitHub Desktop.
Save olgusirman/c111393fd44695aadba5f7b69e63176b to your computer and use it in GitHub Desktop.
Notes about agvtool
1) Enable agvtool.
2) Set up your version and build numbers.
## sampleUsage:
agvtool new-marketing-version <your_specific_version>
xcrun agvtool new-marketing-version 2.0
—--Build--—
// Set Specific build number to 6
agvtool new-version -all 6
// Bump build number
agvtool next-version -all
—--Version--—
// Set Specific version number 1.3
agvtool new-marketing-version 1.3
// Get current version
xcrun agvtool what-version
agvtool - Apple-generic versioning tool for Xcode projects
usage:
agvtool help
agvtool what-version | vers [-terse]
agvtool [-noscm | -usecvs | -usesvn] next-version | bump [-all]
agvtool [-noscm | -usecvs | -usesvn] new-version [-all] <versNum>
agvtool [-noscm | -usecvs | -usesvn] tag [-force | -F] [-noupdatecheck | -Q] [-baseurlfortag]
agvtool what-marketing-version | mvers [-terse | -terse1]
agvtool [-noscm | -usecvs | -usesvn] new-marketing-version <versString>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment