Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (24 sloc) 0.958 kB


A ruby wrapper around various xcode tools and the project.pbxproj

Example Usage

You will need to install the gem:

gem install xcoder

and then require the gem in your project/rakefile/etc

require 'xcoder'

Finding all projects from the current directory down

Xcode.find_projects.each {|p| puts }

Find a configuration for a target on a project

project = Xcode.project(:MyProject).target(:Target).config(:Debug)

Building a configuration

builder = config.builder
builder.profile = 'Profiles/MyAdHoc.mobileprovision'    # This will remove old profiles and install the profile
builder.identity = 'iPhone Developer: Ray Hilton'       # The name of the identity to use to sign the IPA (optional)

Packaging a built .app


This will produce a .ipa and a

Incrementing the build number

config.info_plist do |info|
  info.version = info.version.to_i + 1
Jump to Line
Something went wrong with that request. Please try again.