Original connection: https://www.macwk.com/article/mac-catalina-1015-file-damage
After the update macOS 10.15 Catalina, App will prompt a lot that can be used on 10.14 prompt [xxx is damaged, can not be opened, you should move it to the Trash solution], even if you have been in [the security and privacy "in general] opens "any source", but still so prompt, below Here we teach you how to repair.
Preparation: Check if turned on 任何来源
, turned on the preparatory work, please ignore
First open 系统偏好设置
, check the 安全与隐私 -> 通用
next tab whether any source option is enabled:
No hair, if enabled, to unlock enabled.
Without this option, open a terminal and enter the following command:
sudo spctl --master-disable
Then press the keyboard's Enter key (return), enter the password and press the Enter key to complete.
Will see a password later there is a key icon Enter, enter your password to unlock the computer in the back key icon (when entered does not display the password you enter, the feeling is not the same thing input, we do not control, seat of your pants have entered after the correct unlock password and press Enter)
OK, now back to 系统偏好设置 -> 安全性与隐私 -> 通用
where I saw 任何来源
the option of
Generally executing the command will be selected by default, if not checked, check it to unlock it!
A method using a command-line tool:
Open the terminal, enter the following command:
sudo xattr -rd com.apple.quarantine /Applications/xxxxxx.app
xxxxxx
.app into your App name, for example Sketch:
sudo xattr -rd com.apple.quarantine /Applications/Sketch.app
Copy command or the paste into the terminal
sudo xattr -rd com.apple.quarantine
Open Finder (up visit), click on the left side of the application, the application will be dragged into the terminal press Enter (note quarantine trailing space).
Then press the keyboard's Enter key (return), enter the password and press the Enter key to complete.
Will see a password later there is a key icon Enter, enter your password to unlock the computer in the back key icon (when entered does not display the password you enter, the feeling is not the same thing input, we do not control, seat of your pants have entered after the correct unlock password and press Enter)
Well, look at what is not possible to open the APP!