install4j 8和Mac的公证不起作用

时间:2019-11-15 14:49:27

标签: macos install4j notarize

我们正在努力让install4j 8 Mac公证工作。

在Mac Catalina上使用install4j Multi-Platform Edition 8.0.2(内部版本8057)。

选中“公证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,必须选中“构建”步骤上的“公证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是否会对安装程序的公证票据进行任何装订?

亲切的问候 塔玛斯

1 个答案:

答案 0 :(得分:1)

尽管

的master分支,当前发布的install4j maven插件(1.1.1)没有appleIdappleIdPassword参数。

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

已经有了它们。

在8.0.3中,您将能够在项目的“常规设置->代码签名”步骤中定义Apple ID,并且只要Maven插件能够在外部设置系统属性-Dinstall4j.appleIdPassword=...没有更新的版本。您可以写信至support@ej-technologies.com获取已在其中实现的版本。

  

最后一个问题:install4j是否对公证单进行任何装订,以   安装程序?

是的,装订是由install4j执行的。