How to generate xcode project files on MacOS?

When I right click on the .uproject file and press “Generate xcode project files”, it just opens up the command line and that’s it: