8👍
✅
You need to install the Xcode command line tools (which is not selected by default) when you install Xcode. Depending on your xcode version, you can either select to install the command line tools in the downloads panel of the preferences, or by reinstalling.
Source:stackexchange.com