In this case, the solution is very simple, the steps are as follows:
-
Open the system preferences interface, enter security and privacy
-
Tap the lock icon in the lower left corner to unlock and change permissions
-
Change the apps that are allowed to download from the following locations to "Any Source" and then open the app
If you have opened any source, but still can't open it (you will encounter it in macOS Catalina 10.15 and above), follow the steps below:
-
Open terminal
-
Enter the following command and press enter
sudo xattr -d com.apple.quarantine /Applications/xxxx.app
Note: /Applications/xxxx.app, replace with your App path
- Restart the app