解决 macOS 26.1 The application “xxxx” can’t be opened. 问题

报错如下:

bash 复制代码
"xxx.app" is damaged and can't be opened. You should move it to the Trash.

The application "Charles" can't be opened.

非 M 系列芯片可以通过下面的命令解决:

bash 复制代码
sudo xattr -rd com.apple.quarantine /Applications/xxx.app	

M 芯片解决方法:

  1. 先确保允许任何来源软件
bash 复制代码
sudo spctl --master-disable    # 设置隐私中,允许任何来源软件

可从设置中查看状态:

  1. 尝试修复这个软件
bash 复制代码
sudo xattr -rc /Applications/xxx.app     # "修复" 所有未知来源的 app 

如果直接打开不行,可以尝试 按住 Ctrl 然后右键单击该软件选择 Open。

相关推荐
2501_916008893 分钟前
移动安全之 APP 加固,保障移动应用安全的重要手段
安全·macos·ios·小程序·uni-app·iphone·xcode
艾莉丝努力练剑6 小时前
Mac 远程桌面体验:6 个工具的 macOS 适配情况整理
linux·运维·服务器·macos·面试
YH55269841 天前
MacBook Air M4 和 M5 怎么选?
macos
MoSTChillax1 天前
数字人竞品分析(中):核心功能、产品使用与技术能力对比
ide·macos·xcode
码农阿豪2 天前
【金仓数据库征文】Mac开发环境|SpringBoot3 + MyBatisPlus对接KES V9 Docker实战全指南
数据库·macos·docker
赶路人儿2 天前
MacOS 下实现 AI 操控电脑(Computer Use)的思考
人工智能·macos·策略模式
天空'之城2 天前
VMware17.5.0安装macOS13.7.8|Xcode15.0.1+Qt6.5.3开发环境搭建完整教程
macos·虚拟机·vmware tools
00后程序员张2 天前
使用Instruments工具深入分析iOS应用性能与启动时间优化
android·macos·ios·小程序·uni-app·cocoa·iphone
2601_960906722 天前
AI研发加速中式及泛亚洲
人工智能·vscode·macos·sublime text·phpstorm
sg_knight2 天前
Codex CLI 安装全攻略:macOS / Linux / Windows(WSL2)三端实战
linux·windows·macos·openai·ai编程·coding·codex