can't run GenerateProjectFiles.command on macbook pro M4,macos 15.2

This is mainly the “Bad CPU type in executable” problem
if installed rosetta and the problem solved.
In Terminal type the following command and Press “Enter”
softwareupdate --install-rosetta