You have to install Xcode Command Line Tool in your computer. It comes with Xcode software. If you have already install Xcode or Xcode Command Line Tools go to the next step. If not, follow the next instructions :
- First option :
Paste this command on a terminal to install Xcode Command Line Tools :
xcode-select —install
Follow the instructions displayed in the terminal window. The main interest of this option is the weight of these tools compared to Xcode whole software as it weighs several Go (about 10 Go).