This is harder than it should be. Way harder.

  1. Enable your terminal to make changesOpen System Settings -> Privacy & Security -> App Management and give permission to your Terminal program

  2. Install XcodeXcode-select --install (enter your password)

  3. Remove the existing signaturesudo codesign --remove-signature "/Applications/Discord.app/Contents/Frameworks/Discord Helper (Renderer).app"

  4. Re-sign the appsudo codesign --sign - "/Applications/Discord.app/Contents/Frameworks/Discord Helper (Renderer).app"

If you don’t do step 0 you’re not going to be able to remove the signature in step 2.

Why is this so hard in 2023?