Building iPhone apps with Rake

Building and releasing iPhone apps and at the same time versioning them easily can be a bit tedious. Several posts (like this or this) show how to use agvtool for automated versioning. But for me this is still not automated enough.

This post here pointed me to a Rakefile which I can use to bump versions, build and zip the application for uploading to the AppStore. Being myself a ruby developer, it was easy for me to modify the Rakefile to include bumping marketing version number also automatically. The following Rakefile builds with ‘rake release‘, which also bumps Project versions and minor marketing version. The task ‘rake bump:major‘ can be used to bump to next major version.

http://gist.github.com/291580.js?file=Rakefile

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s