macOS系统can’t be opened because ...

2022-07-19
#Unix

1. 说明

“A.app” can’t be opened because Apple cannot check it for malicious software.

2. 解决方案

方法一:

xattr -d com.apple.quarantine /Applications/A.app

方法二:

sudo spctl --master-disable

Security & Privacy is Anywhere.

sudo spctl --master-enable

3. 参考