debauchee / barrier

Open-source KVM software
Other
27.37k stars 1.51k forks source link

Catalina : Can’t be opened because Apple cannot check it for malicious software #602

Open the-reverend opened 4 years ago

the-reverend commented 4 years ago

Operating Systems

Server: MacOS Catalina

Client: MacOS Catalina

Barrier Version

2.3.2

Steps to reproduce bug

  1. Install on Macbook from DMG
  2. On launch, get subject dialog, "Can’t be opened because Apple cannot check it for malicious software." Move to Trash or Cancel.

Other info

the-reverend commented 4 years ago

update: actually, i was able to overcome this by removing the com.apple.quarantine attribute. so i guess i'm leaving this open as a suggestion to sign the application.

andydna commented 4 years ago

Right click on Barrier under Applications in Finder and click open. You'll get a dialog with an option to open. Works for me whenever I run into the old " Apple cannot check it for malicious software" problem.

github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

gitlabiche commented 3 years ago

Right click on Barrier under Applications in Finder and click open. You'll get a dialog with an option to open. Works for me whenever I run into the old " Apple cannot check it for malicious software" problem.

This worked great for me. It seems like best option for any cases like this on MacOS.

Although my need was for MacOS Big Sur beta (local) to control TwisterOS (remote, Raspberry Pi) and I suppose I'll have to research why the 'local' trackpad/cursor affects the local machine as well as the remote.

borgstrom commented 3 years ago

Right click on Barrier under Applications in Finder and click open. You'll get a dialog with an option to open. Works for me whenever I run into the old " Apple cannot check it for malicious software" problem.

This only works if you have "Allow apps downloaded from" set to "App Store" and not "App Store and identified developers"

Screen Shot 2021-04-19 at 8 26 56 AM

If, like me, you're on a corporate machine and can't change that setting, then right clicking on Barrier and choosing Open will not offer a dialog with an "Open" button.

Instead, you need to remove the "quarantine" attribute via the terminal:

xattr -rd com.apple.quarantine /Applications/Barrier.app 
fcar12 commented 12 months ago

Right click on Barrier under Applications in Finder and click open. You'll get a dialog with an option to open. Works for me whenever I run into the old " Apple cannot check it for malicious software" problem.

This only works if you have "Allow apps downloaded from" set to "App Store" and not "App Store and identified developers"

Screen Shot 2021-04-19 at 8 26 56 AM

If, like me, you're on a corporate machine and can't change that setting, then right clicking on Barrier and choosing Open will not offer a dialog with an "Open" button.

Instead, you need to remove the "quarantine" attribute via the terminal:

xattr -rd com.apple.quarantine /Applications/Barrier.app 

This is THE solution for this problem in corporate laptops. I've just installed Barrier in 13.6 Ventura and was getting the same error. Tried several other solutions but this was the only one that worked! Thanks!