如何使用我的Apple Developer ID签名.jar文件 [英] How to Sign a .jar file with my Apple Developer ID

查看:169
本文介绍了如何使用我的Apple Developer ID签名.jar文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Java可执行文件 jar 文件,需要使用Apple Developer ID进行签名。我不打算通过App Store分发它。我将通过我的网站将应用程序直接分发给客户。我无意绕过Gatekeeper。使用我的开发人员ID 进行签名应用程序可使客户在安装应用程序时满足Gatekeeper的要求,从而避免出现安全提示我是 身份不明的开发人员

I have a java executable jar file that I need to be signed with my Apple Developer ID. I don’t intend to distribute it through the app store. I will be distributing the app directly to customers through my website. I’m not intending to bypass Gatekeeper. Signing the app with my developer ID is what will satisfy Gatekeeper when customers install the app and thus avoid a security prompt that I am an "Unidentified Developer".

任何帮助将不胜感激

推荐答案

来自apple.stackexchange .com:

From apple.stackexchange.com:


OSx上警告已签名的二进制文件

该计算机的安全设置出现在系统
偏好设置→安全性和隐私
设置为允许错误消息中所示的从应用商店下载应用程序

It appears the security settings of the computer in System Preferences → Security & Privacy are set to Allow apps downloaded from: App Store as shown in the error message.

无论您的应用程序如何签名,如果它不会通过App Store分发
,关守将显示该消息。要允许所有
个其他已签名的应用程序,需要将设置更改为 App Store和
个已确定的开发人员

Regardless of how your application is signed, if it's not distributed through the App Store, Gatekeeper will show that message. To allow all other signed apps, the setting needs to be changed to App Store and identified developers

另请参见:


如何使用Apple Developer ID签名Java applet

哦,没办法=((Java applet无法参与
开发人员ID程序。Apple的答案是
https://stackoverflow.com/a/12210534/1068878

Oh, there is no way to do it =( Java applets cannot participate in the Developer ID program. The Apple's answer is here https://stackoverflow.com/a/12210534/1068878.

这篇关于如何使用我的Apple Developer ID签名.jar文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆