yamcs / yamcs-studio

Desktop TM/TC Client for Yamcs
https://docs.yamcs.org/yamcs-studio/
Eclipse Public License 2.0
27 stars 14 forks source link

Mac binaries are reported damaged under Catalina #104

Open jhallstr opened 3 years ago

jhallstr commented 3 years ago

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 commented 3 years ago

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.

fqqb commented 3 years ago

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.