I have the same problem and xattr did not work.
if it's because it's not a recognized developer then instead of double clicking to open instead right-click and then click Open, it will still say the developer is unrecognized but you will be given the option to open it anyway