Can't build Universal or Apple Silicon Binaries on M1 Macbook

Probably, what you are building is DebugGame, which is not DebugGameEditor. So, this Problem emerged. I solve the problem through this way.