How to sign a Mac OS X application in Linux?

后端 未结 3 1831
广开言路
广开言路 2021-02-19 05:10

For OS X, I distribute my Java application inside a DMG. Since Mountain Lion\'s release, opening the app gives the following error message:

[app name] is

3条回答
  •  生来不讨喜
    2021-02-19 05:24

    There is no documented way of code signing a Mac OS X application in Linux.

    The only way I've found to do this so far is to SSH into a Mac and use that.

    On the other hand, according to @Steve McLeod (https://stackoverflow.com/a/55906962/28190) the installer package install4j does offer this:

    Integrated code signing on Windows and Mac OS X . In the “General Settings” section, install4j now has a “Code signing” tab where you can configure code signing certificates for Windows and Mac OS X. Code signing will be applied to all launchers and installer applications in the corresponding media files. The implementations for code signing are cross-platform, so you can sign Windows and Mac OS X media files from a Linux build server, for example.

    So it must be technically possible.

提交回复
热议问题