I've made a dmg out of my java project and when I try sharing it, the recipient gets "This application is damaged, move it to the bin". To get around this, xattr -d com.apple.quarantine on the command line can be used on the dmg and the following .app, but I would like to be able to have the user just click and open this without having to use the command line.
Asked
Active
Viewed 334 times
1
-
I haven't tried this but I suspect if you had a shared Dropbox folder with the other person and you put the `dmg` in your Dropbox and they ran it, it may work. – Mark Setchell Feb 08 '21 at 11:00
-
@MarkSetchell I just tried it and unfortunately, it didn't work. :/ – Denton Lister Feb 08 '21 at 13:40
-
I guess we'll have to wait for someone clever to come along and enlighten us :-( – Mark Setchell Feb 08 '21 at 13:42
-
@MarkSetchell I think making a pkg instead of a dmg makes it possibly work. Unsure yet, need to test more. – Denton Lister Feb 08 '21 at 17:26
-
1Did they download it from Dropbox via a browser, or do they have the Dropbox app installed on their Mac, and let that sync it? Browsers mark downloaded files as quarantined (which causes the signature check), but Dropbox sync doesn't. – Gordon Davisson Feb 08 '21 at 19:34
-
@GordonDavisson Thank you for clarifying that - it didn't occur to me that anyone might use a browser to "download" from Dropbox :-) – Mark Setchell Feb 08 '21 at 20:06