do you installed the xcode in your mac?please follow below process then start your engine.
- install the correct version of xcode base on your Mac system version
- move the xcode to your application folder
- open your xcode and agree the license agreement
- start your engine
hope this could help you