Summary: Just released RAProjectTools, a collection of Ruby and Bash scripts that make your life easier.
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.
sync-resources from the root-level directory containing your project.
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.
next-version from the root-level directory containing your project.