我们正在努力让 install4j 8 Mac 公证工作。
在 Mac Catalina 上使用 install4j Multi-Platform Edition 8.0.2(内部版本 8057)。
“Notarize macOS 媒体文件”复选框被选中,导致配置:
...
<buildOptions verbose="true" notarize="true" />
</install4j>
但是当我们跑
mvn release -Pinstall4j
我们得到以下日志,表明尚未应用公证过程:
[INFO]
[INFO] Important: macOS media sets have to be notarized before distribution.
[INFO] More information in the code signing help.
[INFO]
按照以下文档中的说明进行操作: https ://www.ej-technologies.com/resources/install4j/help/doc/install4j.pdf
“如果您在 macOS 上构建,install4j 可以为您执行整个公证过程。在 install4j IDE 中,必须选中“构建”步骤中的 Notarize macOS 媒体文件复选框(仅在 macOS 上可见)。对于命令行构建, --apple-id 和 --apple-id-password 命令行参数或 Gradle、Maven 和 Ant 插件的等效参数必须设置"
我们的 Apple ID 和密码已在 install4j 属性文件的 maven settings.xml 文件中设置:
...
<install4j.appleId>[our notarization apple ID]</install4j.appleId>
<install4j.appleIdPassword>[corresponding password]</install4j.appleIdPassword>
</properties>
</profile>
需要帮助找出公证程序未运行的原因。
最后一个问题:install4j 是否将公证票装订到安装程序中?
亲切的问候塔马斯