Getting started on a Masc. Have Xcode error

I’m having an issue after installing Unreal. When I create a new project it’s saying, “Xcode was not detected on this Mac”. But I have it. I even uninstalled it and reinstalled it. I have the latest version of MacOS as well. It also says, “Make sure it’s set as default using xcode-select tool”. I don’t know what that means.

How do I get this Xcode issue resolved? Any help would be appreciated.

Same problem here.
I tried on several different projects. Same problem. I can’t even package the ThirdPersonExempleMap project. A pop up window appears saying : “it appears that XCode is not installed.”
What should we do ?

Thanks !