How to fix the error “opening failure of the program due to damage” on Mac

The owners
Mac can
a strange error occurs when trying to open a downloaded program. At first
the download indicator appears, and then the message: “The opening of the program failed
due to damage. Move the program to the trash. Information about
when and where the file was downloaded. Two options are available: cancel and
move to trash.

Below we
talk about several ways to correct the error.

How to fix the error “opening failure” on Mac

1: Download the program again

First thing
when an error occurs, download the program again from the checked
source. It is recommended to download programs from developer sites, and not from
third-party sites. Often the error disappears when you put the damaged version
file in the basket and download the program again.

The way
does not always work, and sometimes programs have to be downloaded from third-party
sites, not official. In such cases, proceed to the next item.

2: Reboot computer

It will seem obvious to you, but try restarting your Mac, especially
If you have already downloaded the program again, and the error has not disappeared. When computer
load, try to open the program again.

3: Update Software

The error occurs due to outdated software versions. May help update
system, but before that do not forget to save a backup of your device.

  • MacOS 10.14 and later: Go to System Preferences
    > Software update.
  • MacOS 10.13 and up: Go to Mac App Stores> Updates.

If a
updates are available, download them. You can also download the updated version.
programs, if any.

4: Use Terminal

last chance, and it is recommended only for advanced users. If a
the error still has not disappeared, it is better not to use it.

Run the program
Terminal and enter the following command:

xattr -cr / location /

For example:

xattr -cr /Applications/

the team may solve other similar errors. Recall that way
do not use if you do not have experience with the command line. If you
do something wrong, it will lead to additional problems.