icsharpcode / AvaloniaILSpy

Avalonia-based .NET Decompiler (port of ILSpy)
1.5k stars 169 forks source link

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

Closed Darkcast closed 10 months ago

Darkcast commented 10 months ago

version ILSpy 7.2 RC MacOS 14.0 M1 also tried 7.1 RC

image

Hecatoplex commented 10 months ago

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

danielkraut commented 10 months ago

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

Darkcast commented 10 months ago

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

this worked, thanks man :)

Darkcast commented 10 months ago

issue fixed

bitbonk commented 9 months ago

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.

mapitman commented 2 months ago

When installing via Homebrew, this worked for me:


brew install --cask --no-quarantine ilspy
smileBeda commented 2 weeks ago

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.