If you are looking for software to use, go to Huajun Software Park! software release AI product list
Location: Home pageTutorial strategyInformationApple software information Mac opens the app...

What should I do if the Mac prompts that the application is damaged when I open it? What should I do if the Mac prompts that the software is corrupted when installing it?

Author: Shaobing Date: 2022-02-16


When users install or download some software applications using a Mac system, they occasionally encounter the error "XXX software is damaged". The following editor will teach you how to solve this situation:

​ 1. Solution to the problem that the application prompts that the application is damaged and cannot be opened in MacOS 10.15 and above new systems:

Open the terminal (the small rocket icon "Launcher" in the Dock bar at the bottom of the screen - "Others" - open "Terminal"), and paste the following command in the terminal: sudo xattr -r -d com.apple.quarantine(* There is a space after quarantine)

Open the "Finder (smiley face icon)" at the bottom of the screen - select "Applications" in the left sidebar, then find the software you need to process and drag it to the back of the command, press Enter and enter the password to execute. For example, the command that needs to open the Sketch application is:

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

​ ​ 2. When opening the application, it says that it is damaged because of the new system. In order to strengthen the security mechanism, the new system does not allow users to download and install applications by default. They can only download and install applications from the Mac App. Install the app in the Store. So how to solve it?

First, open the terminal, find and start the console in the Dock, the terminal is in the "Others" folder by default.

​ ​ Then, enter the code:sudo spctl --master-disable(*Master is preceded by two dashes) Note that the red box is a space.

      按回车输入自己电脑的密码,按下回车即可。

​​ 3. Open System Preferences and click Security & Privacy. If any sources are displayed, the process is complete.

​ 4. If there is a situation similar to the picture below where the "xxxx" application cannot be opened, you can also see the following processing method.

In "System Preferences - Security & Privacy - General - Allow apps downloaded from the following locations", select "Open anyway" and let the system agree to run the app (as shown in the picture below)


Related articles