【Mac】Solve the "It is damaged and cannot be opened. You should move it to the Trash" problem of Mac installation software

1. Allow "any source" to open

Starting from MacOS Sierra 10.12, Apple has removed the option to allow "any source". If you do not enable the "any source" option, it will directly affect third-party applications that cannot run.

So the way to turn on "any source" is as follows:

Open [Launcher], select [Terminal], and enter:

sudo spctl  --master-disable

Then press Enter, continue to enter the password (the password is invisible when entered), and press Enter.

Then open [System Preferences], select [Security and Privacy], select [General], you can see that [Any Source] has been selected.
old version
new version
Then open the file to install it.

2. If it is found that it still shows "It is damaged and cannot be opened. You should move it to the trash", don't worry, then use this method:

Paste and copy the input command in the terminal (note that there must be a space at the end):

sudo xattr -r -d com.apple.quarantine 

Then open the "Finder" and enter the "Applications" directory, find the software icon, drag the icon to the terminal window just now, and you will get the following combination (as shown in the figure):

sudo xattr -r -d com.apple.quarantine /Applications/Xmind.app

Go back to the terminal window and press Enter, enter the system password and press Enter.

Then restart the installation software, you can install normally.

Note: If the above method still does not work, then download the previous version and use it.

Guess you like

Origin blog.csdn.net/mqw970211/article/details/130969592