If your Mac OS is running Mojave, you will need to install Xcode.
- Install Xcode from this website.
- Accept the Terms and Conditions.
- Ensure that the Xcode app is in the
/Applicationsdirectory. Do not put it in
xcode-selectto the Xcode app Developer directory using the following command:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
Note: Make sure your Xcode application path is correct.