Si vous n'avez pas installé Xcode, téléchargez-le et installez-le depuis App Store et exécutez-le une fois pour terminer sa configuration

First, check that you have Xcode installed, if yes
Point xcode-select to the Xcode app Developer directory 
using the following command:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
MitchAloha