"Local by Flywheel is damaged and can't be opened." error when running installer on MacOS

I’m getting the following error when running the installer on Mac OS.

“Local by Flywheel” is damaged and can’t be opened. You should move it to the Trash.

I redownloaded and re-unzipped the installer and got the same error. Any ideas what the issue may be?