The Tumblog of one Jim Dovey, iOS Software Chief Architect at Kobo in Toronto, Ontario.
He Twitters, he has an , and can occasionally be found on LinkedIn or Facebook.
If you have a query, you can ask it here.

This blog contains personal opinions, and is not endorsed by any company.

You can buy Jim's book, Beginning Objective-C, either directly from Apress as an eBook or in print from Amazon:



Summary: Just released RAProjectTools, a collection of Ruby and Bash scripts that make your life easier.

sync-resources / sync-resources.rb

The script in sync-resources.rb looks at your Xcode project, and finds a group named Resources. If it finds one, and the group itself is associated with a directory in your project — for example, Project/Resources — it will attempt to reconcile the contents of the directory with the contents of the group. Files added to the directory will be added to the Xcode group, and files no longer found will have their references removed.

It works well against projects with one single target. It’s possible to extend the script so it is more robust. The script uses the Xcodeproj gem from CocoaPods, and the appropriate Bundler magic is already set up for you.

Invoke sync-resources from the root-level directory containing your project.


The script in next-version bumps the version number by one. It works with Git Flow, the awesome branching model for software development, and AGVTool, Apple’s solution for software versioning.

It works pretty well if you are already using these tools. Remember to start this script from the develop branch, and it’ll make a new Git Flow release with the next version number.

Invoke next-version from the root-level directory containing your project.

That’s a fairly sizeable amount of awesome right there.

3 notesShowHide

  1. quatermain reblogged this from evadnelt and added:
    That’s a fairly sizeable amount of awesome right there.
  2. evadnelt posted this