Mac opens the file and prompts that the file is damaged. Solution

Background: my colleague passed me a Navicat MySQL installation package, but it was unzipped and opened, prompting that the file was damaged. Similar as shown in the figure: (because there was no screenshot at that time, the similar figure was found on the Internet)

 

Solution

1. Open the terminal and enter the following command:

sudo spctl --master-disable

 

2. Open security and privacy to install

 

Similar Posts: