MacBook M1 - Starting: Could not find Xcode

Unreal Engine requires compiling metal shaders in Xcode. To continue, install Xcode and open the program to accept the terms of the license agreement. If you are installing Xcode in a directory other than Applications/Xcode, run xcode-select on the command line and specify the actual location.

screenshot:
Google Photos