Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Update CFBundleVersion in Info.plist file with short Git revision string
branch: master

This branch is 4 commits ahead, 1 commit behind yllan:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.markdown
xcode-git-cfbundleversion.rb

README.markdown

xcode-git-cfbundleversion.rb

Update CFBundleVersion in Info.plist file with short Git revision string

How to use

  1. Right-click the target you want to add the versioning phase to (usually the target that builds your app)
  2. Select: Add -> New Build Phase -> New Run Script Build Phase
  3. Specify /usr/bin/ruby as the Shell for the script
  4. Paste the script body into the Script text area
  5. Ensure that the build phase is at the end of the target's list of build phases

References

This script is based on following people's works:

Something went wrong with that request. Please try again.