- Launch Xcode > Preferences > Behaviors
+
to add- Rename "New Behavior" to something more meaningful "Launch Terminal"
- Tap on ⌘ opposite to Behavior name
- Choose a handy (non-conflicting) key binding. I use Control + Command + t (
⌃⌘T
)
- Save the LaunchProjectInTerminal.sh so somewhere safe and accessible.
- In the details panel of the new behavior, look for the checkmark
Run
and check it. - Select "Choose Script" and provide the path to the LaunchProjectInTerminal.sh file