There is less “sledgehammer” to fix this. Today I ran into this problem, and this happened due to a combination of two things: the extended quarantine attribute is set in the application suite, and the signature is broken, so typing:
codesign -vv <app bundle>
leads to:
<app bundle>: code has no resources but signature indicates they must be present
You can view advanced attributes by typing ls -la @ in the terminal. It will show you "com.apple.quarantine" in the file.
Instead of disabling Gatekeeper, you can use the following terminal command to remove all extended file attributes:
xattr -c <app bundle>
I'm going to take a walk to find out if I can understand exactly how the signature is broken, so I can fix it (I'm a new developer at the company that does this) and I came across this question.
Disabling Gatekeeper is not at all what I would recommend. When the Gatekeeper warns you about something, you get additional information about it and its possible that it can save you from accidentally launching something that you do not want to run.
brant
source share