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).
➜ Desktop xattr -l Osprey.app
com.apple.quarantine: 0183;5ec9b1bd;Safari;55894F4A-3BE8-4A37-8DC4-5B8947137275
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:
➜ Desktop codesign --verify --verbose --verbose=4 ./Osprey.app
./Osprey.app: code has no resources but signature indicates they must be present
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.
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.