Install Xcode (get it from https://developer.apple.com/xcode/) if you don't have it yet, Point xcode-select to the Xcode Developer directory using the following command: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer