141 字
1 分钟
Mac提示App已损坏
  1. 启用任何来源
sudo spctl --master-disable

输入密码后显示

Globally disabling the assessment system needs to be confirmed in System Settings.
  1. 打开系统设置-隐私与安全性,在底下找到安全性-允许以下来源的应用程序,修改为允许任何来源
  1. 放行指定App
sudo xattr -rd com.apple.quarantine /Applications/xxx.app

注意/Applications/xxx.app替换为你的App路径

  1. 设置完毕后关闭允许任何来源
sudo spctl --master-enable
Mac提示App已损坏
https://www.smaritron.top/posts/mac-app已损坏/
作者
Smaritron
发布于
2025-02-25
许可协议
CC BY-NC-SA 4.0