Skip to content

Instantly share code, notes, and snippets.

@Peelz
Last active April 9, 2021 06:56
Show Gist options
  • Save Peelz/49f53de73fbc1ed0e23f6bef52d8ca25 to your computer and use it in GitHub Desktop.
Save Peelz/49f53de73fbc1ed0e23f6bef52d8ca25 to your computer and use it in GitHub Desktop.
# Get version from .xcodeproj
xcodebuild -project "${PROJECTNAME}.xcodeproj" -showBuildSettings | grep "MARKETING_VERSION" | sed 's/[ ]*MARKETING_VERSION = //'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment