banner
半米牙

半米牙的笔记

分享技术、记录生活
email

Solution to macOS prompt of damaged installation package

Software installation packages downloaded from the internet often prompt:

xxx is damaged and can't be opened. You should move it to the Trash.

Now summarize the solution.

In general, methods one and two can solve the problem. If the above two methods do not work, please try method three.

Method One#

In System Preferences - Security & Privacy - General tab, select the option to allow apps downloaded from Anywhere.

Method Two#

If there is no option for Anywhere, open the terminal and execute

sudo spctl --master-disable

Method Three#

If methods one and two have no effect, execute the following command in the terminal

sudo xattr -r -d com.apple.quarantine /path/to/app

Where /path/to/app is the path where the app is located, for example, XMind ZEN.app would be

sudo xattr -r -d com.apple.quarantine /Applications/XMind\ ZEN.app
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.