maptool
maptool copied to clipboard
MacOS reports the DMG files are broken and need to be moved to the trash.
Describe the bug MacOS reports the DMG files are broken and need to be moved to the trash.
To Reproduce Steps to reproduce the behavior:
- Download and attempt to run.
Expected behavior Should run.
MapTool Info
- Version: 1.9.0 Alpha 9 & Beta 2
Desktop (please complete the following information):
- OS: MacOS
Additional context Reported on Reddit & Discord.
This is a mac gate keeper annoyance. We may have to stop distributing the dmg and only provide the pkg if we can't find a work around. The dmg isn't actually corrupt gate keeper just doesn't like that its not signed
Is the workaround mentioned on this page still valid?
https://apple.stackexchange.com/questions/370202/how-do-i-skip-verification-of-a-dmg-file
For older versions of the OS https://forums.rptools.net/viewtopic.php?t=25483
For newer versions of the OS the "Anywhere" option doesn't exist, it can be reenabled by running
sudo spctl --master-disable
From the terminal, which should allow you to proceed with the steps in the above link
Unfortunately its not something I can test as its been installed on every computer I have so the DMG works fine without any extra steps on them all.
Until is is determined that there is something that we can do about this taking this off of the active projects.
this working for me:
after copy the MapTool.app into Application execute this command sudo xattr -cr /Applications/MapTool.app
enter your password, then open the MapTool app
The xattr workaround doesn't work for me. Even tried sudo xattr -dr com.apple.quarantine /Applications/MapTool.app but nope. After I run any command on /Applications/MapTool.app I also get "Operation not permitted" on any subsequent command.
I'm not even sure if my downloaded DMG is correct or not (an MD5 Hash sum would help verifying that it's not a problem on my end and all my downloads have been broken).
PS: I also get the same broken message with the pkg file
The
xattrworkaround doesn't work for me. Even triedsudo xattr -dr com.apple.quarantine /Applications/MapTool.appbut nope. After I run any command on/Applications/MapTool.appI also get "Operation not permitted" on any subsequent command. I'm not even sure if my downloaded DMG is correct or not (an MD5 Hash sum would help verifying that it's not a problem on my end and all my downloads have been broken).PS: I also get the same broken message with the pkg file
@Lofter1 is the error you are getting something like below (with all the files in the MapTool.app directory listed)?
xattr: [Errno 1] Operation not permitted: '/Applications/MapTool.app/....
If so this is most likely because the terminal program you are running does not have permission to perform the changes, if this is the case when you try run it again there should be a notification message (defaults to top right of the screen if you haven't changed it) saying this, clicking on it will take you to the settings where you need to give the permission to the terminal program (or iTerm, or what ever you are using)
Yes, that is the message. But i did not get a notification.
However, after hours of trying and reinstalling, at some point, it worked. I cannot say what exactly it was I did differently when it finally worked, though.