So the reason you are running into this now has a few factors
- You’re now using an M1 Mac
- Apple requires that apps built for M1 be code signed, even if that means ad-hoc signing (which is what the IDE does because we don’t have access to your certificate)
- Ad-hoc signing is only good on the computer where it was done.
IIRC the command looks like this:
codesign -s -i - /path/to/yourapp.app