“XXXXX” is damaged and can’t be opened. You should move it to the Trash 解决方案

简介: “XXXXX” is damaged and can’t be opened. You should move it to the Trash 解决方案

1. 打开 AnyWhere 选项


MacOS 早期版本只要打开 System Preferences -> Security & Privacy 并勾选 AnyWhere 就可以了。


如果新的版本 AnyWhere 没有出现,则需要执行以下命令


$ sudo spctl --master-disable


命令执行完成,一般都可以看到 AnyWhere 选项了。


2. 使用 xattr 命令行


使用 xattr 命令调整 app 属性,比如 “Sublime\ Text”


$ sudo xattr -cr /Applications/Sublime\ Text.app


参考:


目录
相关文章
|
5月前
|
Docker 容器
ADD failed: file not found in build context or excluded by .dockerignore: stat irap_rule_center: fil
ADD failed: file not found in build context or excluded by .dockerignore: stat irap_rule_center: fil
|
程序员 Go API
译|Don’t just check errors, handle them gracefully(一)
译|Don’t just check errors, handle them gracefully
94 0
|
Java Go API
译|Don’t just check errors, handle them gracefully(二)
译|Don’t just check errors, handle them gracefully(二)
113 0
|
关系型数据库 MySQL Linux
SQLSTATE[HY000]: General error: 1364 Field ‘xxx’ doesn't have a default value 解决办法
SQLSTATE[HY000]: General error: 1364 Field ‘xxx’ doesn't have a default value 解决办法
2093 0
《Why you should care about data layout in the file system》电子版地址
Why you should care about data layout in the file system
293 0
《Why you should care about data layout in the file system》电子版地址
|
网络安全 开发工具
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
1273 0
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
|
索引
Resource temporarily unavailable, will not index. Try --rotate option.
Resource temporarily unavailable, will not index. Try --rotate option.
201 1
|
C语言
[Error] ‘for‘ loop initial declarations are only allowed in C99 or C11 mode 解决方法
[Error] ‘for’ loop initial declarations are only allowed in C99 or C11 mode [Note] use option -std=c99,-std=gnu99,-std=c11 or-std=gnu11 to compile your code
1576 0
[Error] ‘for‘ loop initial declarations are only allowed in C99 or C11 mode 解决方法
|
C语言
[Error] ‘for‘ loop initial declarations are only allowed in C99 mode
[Error] ‘for‘ loop initial declarations are only allowed in C99 mode
345 0
[Error] ‘for‘ loop initial declarations are only allowed in C99 mode