I have spaces in my path to Xcode (/Applications/Xcode 9.1 GM.app).
When I attempt to build Swift using utils/build-script, it silently dies with a cryptic message of:
usage: dirname path
./utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
- This is a bad error message and
- I should be able to have spaces in my path to Xcode