We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在 GitHub Actions 上打包的 macOS 应用显示“已损坏”通常是由于 macOS 的安全机制(如代码签名和公证)未通过或被绕过。macOS 要求应用程序进行代码签名,否则在安装或运行时可能会被认为“已损坏”。以下是一些常见的解决方案:
sudo spctl --master-disable
xattr -cr /path/to/your/app.app
xattr -cr 会递归清除应用的扩展属性,以解决 macOS 的不信任问题。
The text was updated successfully, but these errors were encountered:
macos15.2 arm打开应用显示API启动失败
Sorry, something went wrong.
iAJue
No branches or pull requests
在 GitHub Actions 上打包的 macOS 应用显示“已损坏”通常是由于 macOS 的安全机制(如代码签名和公证)未通过或被绕过。macOS 要求应用程序进行代码签名,否则在安装或运行时可能会被认为“已损坏”。以下是一些常见的解决方案:
在本地运行应用时,您可以通过终端禁用 Gatekeeper 检查(不推荐用于发布,仅用于本地测试):
使用以下命令清除应用的扩展属性,避免 macOS 识别为不可信的应用:
xattr -cr 会递归清除应用的扩展属性,以解决 macOS 的不信任问题。
The text was updated successfully, but these errors were encountered: