[GH-ISSUE #602] Catalina : Can’t be opened because Apple cannot check it for malicious software #473

Open
opened 2026-05-05 06:29:48 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @the-reverend on GitHub (Mar 29, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/602

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

  • This is not caused by attribute com.apple.quarantine.
  • This is probably caused because the application is not signed.
    $ codesign -dv /Applications/Barrier.app/Contents/MacOS/barrier
    /Applications/Barrier.app/Contents/MacOS/barrier: code object is not signed at all
    
  • I cannot overcome this because it's a work laptop with group policies.
  • If the assembly was signed, I could probably overcome an unknown publisher.
  • Does this bug prevent you from using Barrier entirely? Yes No
Originally created by @the-reverend on GitHub (Mar 29, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/602 ### 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 ### * ~This is not caused by attribute `com.apple.quarantine`.~ * This is probably caused because the application is not signed. ``` $ codesign -dv /Applications/Barrier.app/Contents/MacOS/barrier /Applications/Barrier.app/Contents/MacOS/barrier: code object is not signed at all ``` * ~I cannot overcome this because it's a work laptop with group policies.~ * If the assembly was signed, I could probably overcome an unknown publisher. * Does this bug prevent you from using Barrier entirely? ~Yes~ No
Author
Owner

@the-reverend commented on GitHub (Mar 29, 2020):

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.

<!-- gh-comment-id:605552406 --> @the-reverend commented on GitHub (Mar 29, 2020): 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.
Author
Owner

@andydna commented on GitHub (Apr 1, 2020):

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.

<!-- gh-comment-id:607387600 --> @andydna commented on GitHub (Apr 1, 2020): 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.
Author
Owner

@github-actions[bot] commented on GitHub (Sep 26, 2020):

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.

<!-- gh-comment-id:699265868 --> @github-actions[bot] commented on GitHub (Sep 26, 2020): 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.
Author
Owner

@gitlabiche commented on GitHub (Oct 16, 2020):

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.

<!-- gh-comment-id:709651797 --> @gitlabiche commented on GitHub (Oct 16, 2020): > 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.
Author
Owner

@borgstrom commented on GitHub (Apr 19, 2021):

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 
<!-- gh-comment-id:822429816 --> @borgstrom commented on GitHub (Apr 19, 2021): > 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" <img width="780" alt="Screen Shot 2021-04-19 at 8 26 56 AM" src="https://user-images.githubusercontent.com/1594130/115236229-18dea280-a0e9-11eb-8614-fc3a470bb2ca.png"> 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 ```
Author
Owner

@fcar12 commented on GitHub (Oct 11, 2023):

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!

<!-- gh-comment-id:1757914718 --> @fcar12 commented on GitHub (Oct 11, 2023): > > 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" > > <img alt="Screen Shot 2021-04-19 at 8 26 56 AM" width="780" src="https://user-images.githubusercontent.com/1594130/115236229-18dea280-a0e9-11eb-8614-fc3a470bb2ca.png"> > > 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!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#473
No description provided.