I assume you’re having this issue on macOS. What you can try is using the terminal: first, type in sudo zsh to gain root privileges. Then, type xattr -cr followed by a space, and drag the application file from the Finder directly into the terminal window. Hit Enter. That should fix the issue. Hope this helps!