Page 1 of 1

Fixing "corrupt DMG" error under Mac OS 10.12.x (Sierra)

Posted: Sun May 21, 2017 1:22 pm
by blocked_writer
Hello,

I tried to install Maptool on my Mac, which runs Sierra (Mac OS 10.12.x), and got the "damaged and can't be opened" error message.

The steps in the sticky post Corrupt DMG or Mac App wont install, no longer work under Sierra as the "Allow apps downloaded from… Anywhere" option in the Security and Privacy… General tab in System Preferences has been hidden, and the shortcut to bypass Gatekeeper's warning and open an app doesn't work.

Image

To enable this you have to enter this command in Terminal. You will need to enter your Mac OS X admin password. (Here's the source for the fix.)

Code: Select all

sudo spctl --master-disable
Once you have, the "Anywhere" option in the Security and Privacy pane will be revealed. (As below.)

Image

If you want to undo this, enter the same command into Terminal, but change "disable" to "enable":

Code: Select all

sudo spctl --master-enable
- Richard