CLI Solution - Stripping File Attributes - LSOpenURLsWithRole() I am getting this error when trying to execute an unsigned application that was downloaded via the native web-browser; Safari.app.

LSOpenURLsWithRole() failed with error -10810..


There used to be a solution to a similar question on AskDifferent that utilised the CLI to strip certain attributes from the file in question, allowing it to run. It was a good solution but it has since been deleted and now I've forgotten what it was.

Does anybody know the command('s?) that I'm referring to?
I believe it's xattr -rc app-name, but I could be completely wrong.