Andrus Adamchik created CAY-2997:
------------------------------------
Summary: Sign Mac distribution with an official Apple cert
Key: CAY-2997
URL: https://issues.apache.org/jira/browse/CAY-2997
Project: Cayenne
Issue Type: Task
Reporter: Andrus Adamchik
Fix For: 5.0-M4
The ASF provides free access to the Apple Developer Program per
https://infra.apache.org/apple-dev-program.html . So we should be able to
create signed Modeler distributions that don't cause trouble with permissions
when people download and install them.
Things to deal with:
* Both CayenneModeler.app and .dmg require a signature
* FlatLaf ships dylibs inside its jar. Presumably we'll need to unzip, sign
them ourselves and rezip
* There was an issue flagged in Info.plist related to japp plugin behavior (see
below)
h2. FlatLaf Binaries
{noformat}
flatlaf-3.7.1.jar:
com/formdev/flatlaf/natives/libflatlaf-macos-arm64.dylib
com/formdev/flatlaf/natives/libflatlaf-macos-x86_64.dylib
{noformat}
h2. Info.plist issue
Will need to deal with on the japp side. Not clear whether this will affect
signing. The Info.plist identity is wrong. japp's template hardcodes
CFBundleIdentifier to the app name:
{noformat}
<key>CFBundleIdentifier</key><string>CayenneModeler</string>
<key>CFBundleExecutable</key><string>MacOS/CayenneModeler</string>
{noformat}
Both should be normalized — org.apache.cayenne.modeler and CayenneModeler.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)