Unreal Editor for macOS Xcode not found

I have the same issues on my M4 pro.
the result of xcode-select -p is /Library/Developer/CommandLineTools