How to make the life of an iOS developer suck a little less — 24 hrs at a time — an open letter to…
Ramesh Padala
164

It’s no excuse for the versioning requirement imposed, but here’s the script I run in one of my early build phases to stay on top of it:

versionNumber=$(/usr/libexec/PlistBuddy -c “Print CFBundleShortVersionString” “$INFOPLIST_FILE”)

buildNumber=$(/usr/libexec/PlistBuddy -c “Print CFBundleVersion” “$INFOPLIST_FILE”)

buildNumber=$(($buildNumber + 1))

/usr/libexec/PlistBuddy -c “Set :CFBundleVersion $buildNumber” “$INFOPLIST_FILE”

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.