Codesign error when building game on mac

Im on a M2 mac btw. I’m learning unreal engine, and I wanted to try building and packaging my game. I’m using the command /Users/username/Documents/coding/Epic\ Games/UE_5.5/Engine/Build/BatchFiles/RunUAT.sh BuildGame -project=“/Users/username/Documents/Unreal\ Projects/LazerDroids/LazerDroids.uproject” -platform=Mac -configuration=Shipping to do it.

However I’m getting a codesign error when codesigning LazerDroids-Mac-Shipping.app

How do I fix this? Thank you.

Attached log ↓ I replaced my name with the word “username”
UBA-LazerDroids-Mac-Shipping.txt (120.4 KB)