yamcs-studio icon indicating copy to clipboard operation
yamcs-studio copied to clipboard

Mac binaries are reported damaged under Catalina

Open jhallstr opened this issue 3 years ago • 2 comments

Running under Catalina macOS 10.15.7, for all the Mac binaries I've tried to download, 1.5.4, 1.5.3, 1.5.2, when I double click on the resultant Yamcs Studio app, I get a report that the app is damaged. See attached Screen Shot 2021-03-22 at 4 53 58 PM

jhallstr avatar Mar 22 '21 22:03 jhallstr

Running under Catalina macOS 10.15.7, for all the Mac binaries I've tried to download, 1.5.4, 1.5.3, 1.5.2, when I double click on the resultant Yamcs Studio app, I get a report that the app is damaged. See attached Screen Shot 2021-03-22 at 4 53 58 PM

Ok apparently this can happen under macOS, but it would be nice if the app had an installer to fix the issue. Anywho, after some poking around osxdaily, I found a series of workarounds. But only this one succeeded: Assuming that you placed the Yamcs Studio.app file in the /Applications folder, you can issue the following Terminal command to coax it into becoming a runnable app: xattr -cr "/Applications/Yamcs Studio.app" After this I was able to start the app without issue.

jhallstr avatar Mar 22 '21 22:03 jhallstr

It's coming from Gatekeeper, which added lots of (annoying) checks over the years. This solution, similar to yours, is what works for me (Big Sur): sudo xattr -rds com.apple.quarantine ~/Downloads/Yamcs\ Studio.app

I think the only way to avoid the issue, is for us to buy a Developer ID from Apple, and going through the signing/notary process upon each release.Since Apple Developer IDs are not exactly free, and the workaround is 'reasonable', I would rather avoid buying a Developer ID for now.

But I will add a note in README with this information.

fqqb avatar Mar 23 '21 08:03 fqqb