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

Thoughts, Help, Feature Requests, Bug Reports, Developing code for...

Moderators: dorpond, trevor, Azhrei

Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior. :)
Post Reply
blocked_writer
Kobold
Posts: 7
Joined: Sun May 21, 2017 12:06 pm

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

Post 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

Post Reply

Return to “MapTool”