Jika Anda tidak menginstal xcode, unduh dan instal dari App Store dan jalankan sekali untuk menyelesaikan pengaturannya

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