Disabling Gatekeeper
macOS uses Gatekeeper technology to ensure that only trusted software runs on your Mac....
Running a corrupted application is impossible without bypassing the Quarantine function, or disabling Gatekeeper, a technology that ensures that only trusted software runs on a Mac computer.
Solution (option 1).
This procedure is often referred to as "dequarantine" or "de-quarantine".
1. Launch the "Terminal" utility.
This is a standard utility that does not need to be installed additionally. The terminal can be found via Spotlight.
2. Use the command: sudo xattr -r -d com.apple.quarantine put a space and drag the corrupted program or image (.dmg) into the Terminal window. The team will sign up.
2.1 Or use the command: sudo xattr -r -c put a space and drag the corrupted program or image (.dmg) into the Terminal window. The team will sign up.
Usually it is enough to use only the first command, but there are situations when executing it does not help, unlike executing the second one.
3. Press Enter and enter the Administrator password.
The password is not displayed when entered into the Terminal, but is entered.
If a password is not set, create it.
4. Proceed to launch the damaged program.
Wait for the check to complete and you will be able to open it.
The verification time can take up to 30 minutes.
Solution (option 2).
1. Launch the "Terminal" utility.
2. Use command: sudo spctl --master-disable
You don't need to drag anything to the Terminal. To enable Gatekeeper, replace "disable" with "enable".
3. Press Enter and enter the Administrator password.
4. Proceed to launch the damaged program.
You can read more about gatekeeper at support.apple.com or wikipedia.org or developer.apple.com
You can read more about extended attributes and the xattr command on wikipedia.org or real-world-systems.com or ss64.com
What's Your Reaction?