macOS app may show "damaged" until quarantine attribute is removed
Problem
After downloading and installing WeSight.app on macOS, launching the app may show a system warning that the app is damaged / cannot be opened.
Workaround
The app can be launched after removing the macOS quarantine attribute:
sudo xattr -rd com.apple.quarantine "/Applications/WeSight.app"
open "/Applications/WeSight.app"
If the app is still in Downloads, use the actual app path instead, for example:
sudo xattr -rd com.apple.quarantine "$HOME/Downloads/WeSight.app"
open "$HOME/Downloads/WeSight.app"
Suggestion
It may help to add this workaround to the README or release notes for macOS users. If possible, signing/notarizing the macOS build would avoid the warning entirely.
Thanks for reporting this. We have added the macOS unsigned-app workaround to both README files, including the damaged-app warning and the command.\n\nDocs updated:\n- README.md: macOS install / damaged-app section\n- README_zh.md: macOS 安装 / 应用已损坏说明\n\nI am keeping this issue open for now because the underlying long-term fix is still code signing and notarization. The documentation workaround is covered, while signed/notarized distribution remains pending.
状态更新:文档层面已处理,签名/公证仍待后续完成。
已做:README 中已补充 macOS 未签名包的安装说明,包括拖入 Applications 后如出现“已损坏,无法打开”,可运行 xattr -cr /Applications/WeSight.app 后重新打开。
剩余:真正消除这个系统提示需要 Apple Developer ID 签名与 notarization。该项会保留打开,直到正式签名/公证链路完成。
状态更新:文档层面的安装说明已处理,签名/公证仍待做。
当前已做:
- README/README_zh 已增加 macOS 未签名包的说明。
- 明确解释“已损坏,无法打开”的原因是未签名/未公证触发 Gatekeeper。
- 提供临时解决命令:xattr -cr /Applications/WeSight.app。
后续工作:
- 正式开发者证书签名。
- notarization 公证。
- release notes 继续保留首次打开说明。
这个 issue 建议保持 open,直到签名和公证完成。