2016-03-15 143 views

回答

0
  • 導航到Apple Developer Portal
  • 點擊 「證書,身份和配置文件」 Certificates, Identities and profiles
  • 從下拉OSX

  • 選擇 「OSX」 在 「證書」 部分點擊「+ 「符號,並按照嚮導生成CSR請求。該向導將讓您在鑰匙串中生成請求,然後下載您的私鑰。

您現在可以使用此密鑰在Xcode /各種打包工具中對軟件包進行簽名。

您還可以使用productsign實用簽署現有的包:

productsign --sign "Developer ID Installer: John Smith (MYH4SH)" mypackage.pgk mypackaged_signed.pkg 

更多Certificates on other Apple Platforms