Xcode issue for Mac

Hello. Newbie here.
I am trying to install UE4.6 for Mac but keep hitting the error messge below which is flummoxing me. Can someone explain fairly simply what I have to do? I don’t believe Xcode is currently installed.
Thank you.
Teslagirl77

The message: (text) Can’t find Xcode install for Metal compiler. Please install Ecode and run Xcode app to accept licence or insure active developer directory is set to current Xcode installationusing xcode select.

Hello there @Teslagirl77!

This should be a simple fix. XCode can be installed from Apple’s App Store. Unreal uses this to compile games. Once installed, open Xcode and accept the licensing agreement, then re-open Unreal.

If the issue persists, please open Terminal and implement the following code:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

For any further problems, check the following threads for alternative solutions: