Bump Version
Increment the MARKETING_VERSION in the Xcode project file by 0.01.
Steps
- •
Read
loc.xcodeproj/project.pbxprojand find allMARKETING_VERSIONentries. - •
Parse the current version number (e.g. 4.50).
- •
Increment by 0.01 (e.g. 4.50 -> 4.51).
- •
Replace ALL occurrences of the old version with the new version in
project.pbxprojusing the Edit tool. - •
Confirm the change to the user by showing:
Version bumped: X.XX -> X.XX
Rules
- •Do NOT commit or push. The user will test in Xcode first.
- •Update every
MARKETING_VERSIONoccurrence (there are multiple build configurations). - •Use two decimal places (e.g. 4.50, not 4.5).