Have you installed the Xcode and Xcode command line tools?
xcode-select
If you have Xcode command line tools installed, you should no longer receive an error message xcrun.
Cmake? , , Xcode Commandline Tools , Cmake . . , , .
, Xcode, hstdt :
sudo xcode-select --reset