Skip to content

macOS 提示“软件已损坏,无法打开”的解决建议 #9

Description

@ZZHow1024

环境信息

  • 操作系统: macOS 26.3.1
  • 设备类型: M3 芯片
  • 软件版本: v1.2.0-Mac

问题描述

Image

安装后尝试打开软件时,系统弹出提示:“‘课狐ClassFox’已损坏,无法打开。你应该将它移到废纸篓。”

原因分析

这通常是因为软件缺少有效的开发者签名,或者被 macOS 的 Gatekeeper 机制标记了隔离属性(com.apple.quarantine)。

暂时的解决方法

我通过在终端执行以下命令手动移除了隔离属性,软件随后可以正常运行:
sudo xattr -r -d com.apple.quarantine /Applications/课狐ClassFox.app

建议

建议作者检查应用的签名配置,或者在 README/安装文档中增加关于此问题的说明,以免其他用户误以为安装包真的损坏了。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions