icsharpcode/AvaloniaILSpy

ERROR ILSpy.app” is damaged and can’t be opened. You should move it to the Trash

Closed this issue · 7 comments

version ILSpy 7.2 RC
MacOS 14.0 M1
also tried 7.1 RC

image

Try sudo xattr -d com.apple.quarantine path/to/ILSpy.app in the terminal, then reopening it.

I has the same problem and fix by @Hecatoplex did work. Thanks.

Try sudo xattr -d com.apple.quarantine path/to/ILSpy.app in the terminal, then reopening it.

this worked, thanks man :)

issue fixed

I just installed ILSpy via homebrew using brew install --cask ilspy and then ran sudo xattr -d com.apple.quarantine /Applications/ILSpy.app. It did not help, the same error comes up.

When installing via Homebrew, this worked for me:

brew install --cask --no-quarantine ilspy

This is not a fix, this is a hack. The fix is to preparing apps for apple silicon.

By removing the com.apple.quarantine attribute, you are effectively telling macOS that the file is safe to open and run without undergoing Gatekeeper’s security checks. This can be useful if you trust the application and want to bypass the warning dialogs that macOS presents when opening a quarantined file for the first time.
Do you trust anything on the web? I do not.

Further, the brew manpage for this application clearly states it is INTEL only, not apple silicon. So I would not expect any "fix" for this anyway.