Going Crazy With MAC M1 Build of My Project (XCode)

The developer certificate is required at least for iOS, but as far as I know this does not apply to Mac.

Open your project in the Unreal editor and then try to package it under “Platforms/Mac/Package Project”, and if that is failing you could check the log files.

What helped me in another case was to regenerate the Xcode project files.