Instale el terminal Xcode

sudo xcode-select -switch /Applications/Xcodex.x.x.app

for more info
https://www.freecodecamp.org/news/how-to-download-and-install-xcode/
Tejas Naik