mac: completely solved - prompt after installing the app: "XXX" cannot be opened because the developer cannot be verified; it cannot be verified that this App does not contain malware

Mac received the application from the browser or other computers, but an error occurred when opening it.

Report an error

The screenshot is as follows:
Insert image description here
Error message
无法打开“XXX”,因为无法验证开发者的问题;无法验证此App不包含恶意软件

Solution

one-time method

Here is the solution to this interception. If you install a new application next time, you will still encounter the same interception.

  1. Click the Apple icon in the upper left corner of the screen and select Menu: Find System Preferences
  2. Open the System Preferences interface and click "Security & Privacy" - "General"
  3. Apps that allow downloads from the following locations will see at the bottom of the window: Use of "XXX" has been blocked because it is from an unidentified developer. Click the "Open Anyway" button at the back
  4. In the confirmation pop-up window that pops up, click the "Open" button

Screenshot below:
Insert image description here

Insert image description here

This solves the interception this time, but remember, the next time a new application is installed, it will still be intercepted.


permanent solution

Warm reminder⚠️ : There are certain risks in the permanent solution, please pay attention

The one-time solution above allows us to confirm whether it is malware before installation. Although it is more cumbersome,
if you are sure that you will not download malware, you can use a relatively simple method to permanently disable Gatekeeper , especially for developers, once and for all.

Just enter at the command line

sudo spctl --master-disable

Insert image description here

verify

Find System Preferences-Security and Privacy-General and you can see apps that are allowed to be downloaded from any source.
Insert image description here
After that, no matter where you get the app, the installation will not pop up, but you must ensure the security and reliability of the app.

Restore app verification

Also find System Preferences-Security and Privacy-General

Set it as App Store or App Store and recognized developer , then

Guess you like

Origin blog.csdn.net/m0_37482190/article/details/128957808