"XXX.app is damaged and cannot be opened. You should move it to the Trash", how to deal with the Mac application cannot be opened or the file is damaged

Insert picture description here

In this case, the solution is very simple, the steps are as follows:

  • Open the system preferences interface, enter security and privacy

  • Tap the lock icon in the lower left corner to unlock and change permissions

  • Change the apps that are allowed to download from the following locations to "Any Source" and then open the app

If you have opened any source, but still can't open it (you will encounter it in macOS Catalina 10.15 and above), follow the steps below:

  • Open terminal

  • Enter the following command and press enter

sudo xattr -d com.apple.quarantine /Applications/xxxx.app

Note: /Applications/xxxx.app, replace with your App path

  • Restart the app

Guess you like

Origin blog.csdn.net/yjk13703623757/article/details/108557804