授权未认证软件

  1. 终端内强制放行指定软件的命令如下:

    shell
    1
    
    sudo xattr -rd com.apple.quarantine /Applications/<XXX.app>
  2. 关闭 Gatekeeper(不推荐)

    shell
    1
    
    sudo spctl --master-disable

安装后打开提示损坏

shell
1
xattr -c /Applications/<XXX.app>