Solve the Mac installation application prompt: xx is damaged and cannot be opened. You should move it to the trash question

Many novice mac users will appear "corrupted and cannot be opened. You should move it to the trash" when installing the application, resulting in the failure to install normally. In fact, the application software b is not damaged, it is just a system security setting. How can we solve it? ?

1. Turn on allow any source

Apple has removed the option to allow "any origin". If you do not enable the "Anywhere" option, third-party software is likely to be affected.
Then we need to enable any source,
1. cmd+space to search the terminal, and then enter:

sudo spctl --master-disable

2. Press Enter to enter the power-on password of the computer.
In fact, it is turned on
insert image description here
. 2. If it still shows "damaged and cannot be opened, you should move it to the trash". Don't worry, we can also
paste and copy the input command in the terminal using the following method (note that there is a space at the end):

xattr -cr 

Enter a space after cr! Do not enter! Do not enter! Do not enter! Look down
and open the "Finder" to 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):

Don't hit enter yet! Don't hit enter yet! Don't hit enter yet! Don't hit enter yet!

Then open the "Finder" and enter the "Applications" directory, find the software icon, drag the icon to the terminal window just now, and get the following combination:

xattr -cr /Applications/PicGo.app 

After dragging, return to the car! After pressing Enter, open the software again and it can be opened normally!

Guess you like

Origin blog.csdn.net/CharlesYooSky/article/details/128954049