We have an application which keeps throwing the error "application is damaged and cannot be opened. You should move it to Trash"
I have already referred to the documentation: https://developer.apple.com/forums/thread/706379 and https://developer.apple.com/forums/thread/706442
I have checked the following possible root causes:
- Codesign of the application using the codesign command
- Notarization of the application using the spctl command
- Executable permissions
- Checked for the presence of "com.apple.quarantine" flag for the application using xattr -l <path to executables"
- Checked the bundle structure
None of the above listed items seemed to be a problem and are as expected.
Can you please help us understand what could cause this issue and how to resolve this without recommending an uninstall/reinstall of the application?
I took a look at FB20104614 and it doesn't appear like you have logging from a machine that presented the "Application damaged and can't be opened" prompt. Without that I can't determine why gatekeeper is rejecting the application. Nothing in the logs provided shows any reason for GK would reject the application. Can you get a sysdiagnose immediately after the GK rejection prompt?