Install4J MacOS 公证失败,Apple ID 帐户附加到其他 iTunes 提供商

Install4J MacOS notarization fails with Apple ID account attached to other iTunes providers

我在 macOS 机器上使用 Install4J 8 为经过公证的 Java 应用程序创建 Mac 安装程序。我启用了公证复选框。在构建 Install4J 期间提示输入 AppleId 和密码。我已经为我的 apple id 生成了一个应用程序密码并将其提供给 Install4J 但出现以下错误。

Stack trace:
com.exe4j.a.d: could not upload myinstaller_macos_1_0_0.dmg: Your Apple ID account is attached to other iTunes providers. You will need to specify which provider you intend to submit content to by using the -itc_provider command. Please contact us if you have questions or need help. (1627) (code 1627)
    at com.install4j.d.a.f$c.a(ejt:136)
    at com.install4j.d.a.f.a(ejt:69)
    at com.install4j.b.r.b(ejt:192)
    at com.install4j.gui.b.run(ejt:100)

Any help will be appreciated in this matter.

升级到 8.0.3 后,您可以在 "General Settings->Code signing" 步骤配置公证,该步骤有一个文本字段 "Provider short name" 传递给 -itc_provider 参数.