如何在macOS 中让Gatekeeper在任何地方允许应用程序 参考连接 在终端中输入 sudo spctl --master-disable 然后打开系统偏好设置中的安全和隐私进行查看 你也可以在终端中输入以下代码来恢复设置 sudo spctl --master-enable