Skip to content
master
Switch branches/tags
Code
This branch is 12 commits ahead, 2 commits behind jsallis/xcode-git-versioner:master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time

xcode-git-versioner

This is an Xcode auto-versioning script, written in Ruby which updates your Info.plist's CFBundleVersion to the latest git revision number.

See the wiki for more information.

Usage

  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/env macruby 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

Credits

The script is based on an original Perl script by Marcus S. Zarra and Matt Long, subsequently adapted to Ruby by Jason Sallis.

Finally, it was converted to MacRuby and cleaned up by elliottcable, using tips and snippets from many sources.

About

Xcode auto-versioning script for git

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages