Open gusennan opened 4 years ago
One work-around is to remove the extended attributes:
sudo xattr -cr Osprey.app
@cuchaz when you provided to seminar students, did you re-sign the application package or anything like that?
I didn't sign any of the packages. It was always on the TODO list to bug Apple for the developer certificates, but it hasn't happened yet.
Oh. What do you think about the workaround asking people to use xattr in the meantime?
I don't know much about how things work in Mac-land. If you think it will work, go for it.
It allowed me to run the app on macOS 10.15 catalina, but it's a bit of a hack. I think OpenJDK is targeting a JDK15 release for the underlying bug. Let's leave this open so we can remember to revisit this later.
Ok, sounds good. If the bug is in jpackager, another option to get quicker results is use a pre-release version of jpackager to build the OSX packages. Then we might not have to wait for the full release cycle to finish for JDK15, which I think would take about 4-5 months or so.
When trying to open the application in Catalina, after unpacking and running the application, a message pops up saying:
It seems to be caused by a couple of issues. The first is the quarantine extended attribute on the application (and all files below it).
This is usually used to prompt users to verify they want to run an application they downloaded from the internet. But that's not what the error message is indicating. A little deeper searching found this:
The app is failing its code sign checks, hence the error message. It turns out this is a known bug in jpackager and jlink, see this and this.