Tech、Food & Life

  • 首页
  • 软件下载
    • 电脑和软件
    • Mac软件
    • windows软件
  • Telegram电报
  • 网站资源推荐
  • 海外流媒体
    • netflix
    • Youtube
    • Disney+
    • HBO
  • 生活日常
    • COVID19疫情相关
    • 德国驾照和车
    • 电脑和软件
    • 花花草草
  • 烘焙
  • 关于我
  • 中EN
Tech Food & Life
爱技术,爱美食,爱生活
  1. Home
  2. English Articles
  3. Article

Fix 'Mac App Is Damaged' Error on macOS: Complete Guide

2026年6月1日 1点热度 0人点赞 0条评论
Language: 🇨🇳 中文版 🇬🇧 English

Problem Description

When you download an app from outside the Mac App Store, you often see: "xxx is damaged and can't be opened. You should move it to the Trash" or "Can't open xxx because it's from an unidentified developer".

Why This Happens

Your Mac has a security mechanism that only trusts apps from the Mac App Store or those signed with a developer ID. This blocks legitimate apps that don't have a developer signature.

Solutions

1. Enable "Anywhere" Option

Open Terminal.app, enter the following command and press Enter, then enter your admin password when prompted:

sudo spctl --master-disable

This command allows your Mac to install apps from any source.

2. For macOS Catalina 10.15

Open Terminal.app, enter the following command and press Enter, then enter your admin password:

sudo xattr -rd com.apple.quarantine path-to-app

For example, for Sketch.app:

sudo xattr -rd com.apple.quarantine /Applications/Sketch.app

For CleanMyMac X.app:

sudo xattr -rd com.apple.quarantine /Applications/CleanMyMac X.app

Note: The path like /Applications/Sketch.app is the app's location.

Quick way to get the path: Drag the app into the Terminal window, and the path will appear automatically.

3. For macOS Catalina 10.15.4

After updating to 10.15.4, apps may quit unexpectedly. Use the following method to sign the app.

1. Open Terminal and run:

xcode-select --install

2. Sign the app

In Terminal, run:

sudo codesign --force --deep --sign - (app-path)

Important: Don't miss the space before the path.

3. Troubleshooting

If you see errors like:

/file-location : replacing existing signature

/file-location : resource fork,Finder information,or similar detritus not allowed

First, run this command in Terminal:

xattr -cr /file-location (drag the app in)

Then run the signing command again:

codesign --force --deep --sign - /file-location (drag the app in)

标签: 暂无
最后更新:2026年6月1日

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

Latest Popular Random
Latest Popular Random
德国求职信(Anschreiben)怎么写:格式规范与正文结构详解 德国 Bio 有机产品值不值得买:哪些食物优先选有机,在哪里买最省 德国学生餐厅(Mensa)完全指南:价格、菜单、付款和全国特色 穷游瑞士:从德国出发 5 天 500 欧的可行路线 Notion + Obsidian 管理博士/硕士科研笔记:知识库搭建方案 在德国复刻中式早餐:豆浆、油条和葱油饼在家怎么做
在德国如何办理手机卡和家庭网络:新手实用指南德国留学如何吃得便宜又健康:学生食堂、廉价超市与菜市场全攻略德国留学生BAfoG助学金:谁可以申请?如何申请?德国学生证(Immatrikulationsbescheinigung)到底能干什么?省钱攻略全在这里ggplot2 科研配色方案:5 套可直接用的代码单细胞测序入门:Seurat 完整流程(raw counts → UMAP)全注释
jc-nf那坨大佬的公益众筹机场,新增安卓app 德国面粉 Type 405/550/1050 区别:对应中国低筋/中筋/高筋粉的换算 蓝奏云打不开的解决办法 柏林所有超市概览 科学上网v2ray一键安装脚本 FastGithub-github加速神器
Tags
4k Netflix windows 奈飞 破解 mac 下载 在线

COPYRIGHT © 2020-2025 SUNQI.ORG ALL RIGHTS RESERVED. 本站部分资源来源于网络,如有侵权请联系删除,谢谢。

Theme Kratos Made By Seaton Jiang