Great tips in there! The one about opening a Terminal window is absolute gold. However, you should consider changing the script you use to get the folder of the project dynamically. I did it like this:
#! /bin/bash
open -a Terminal "$SRCROOT"
Save the script file somewhere safe, like in the folder where you keep your projects or some other permanent location, and have the Xcode behavior point to this location. From then on, this will work with any project, as long as you don’t delete or move the script from the specified location.