【问题标题】:install4j 8 and notarization for mac not workingmac 的 install4j 8 和公证不起作用
【发布时间】: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 是否将公证票装订到安装程序中?

亲切的问候 塔马斯

【问题讨论】:

    标签: macos install4j notarize


    【解决方案1】:

    目前发布的install4j maven插件(1.1.1)没有appleIdappleIdPassword参数,虽然

    的master分支

    https://github.com/sonatype/install4j-support/tree/master/install4j-maven-plugin

    已经有了。

    在 8.0.3 中,只要 Maven 插件没有更新版本。您可以写信至 support@ej-technologies.com 以获取已经实施的构建。

    最后一个问题:install4j 是否将公证票装订到 安装程序?

    是的,装订由 install4j 执行。

    【讨论】:

      猜你喜欢
      • 2021-10-04
      • 1970-01-01
      • 2018-05-25
      • 1970-01-01
      • 2014-09-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多