Sie müssen zuerst Entwicklungstools installieren.

solution 1 :
xcode-select --install
and agree the t n c .

sol 2:
sudo xcode-select -switch /

After the above make sure to restart the IDE //imp
Hurt Hamster