【发布时间】:2020-03-11 17:59:53
【问题描述】:
我们正在努力让 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 插件的等效参数 必须设置”
我们的苹果 ID 和密码已经在 install4j 属性文件的 maven settings.xml 文件中设置好了:
...
<install4j.appleId>[our notarization apple ID]</install4j.appleId>
<install4j.appleIdPassword>[corresponding password]</install4j.appleIdPassword>
</properties>
</profile>
需要帮助找出公证程序未运行的原因。
最后一个问题:install4j 是否将公证票装订到安装程序中?
亲切的问候 塔马斯
【问题讨论】: