productsign无法从钥匙串

时间:2015-09-07 06:33:12

标签: macos code-signing-certificate productsign

我们正尝试使用以下命令对Mac安装程序(.pkg文件)进行签名。

productsign --sign "Developer ID Installer: MyCompany, Inc." unsigned_installer.pkg signed_package.pkg

但我们收到以下错误。

productsign: error: Could not find appropriate signing identity for “Developer ID Installer: MyCompany, Inc.”.

当我们尝试使用security -v find-identity -p codesigning查找证书时,我们会得到以下输出。

Policy: Code Signing
Matching identities
1) 1234....6789 "MyCompany, Inc."
   1 identities found

Valid identities only
1) 1234....6789 "MyCompany, Inc."
   1 valid identities found

您能否告诉我们如何排除故障并解决此问题?

0 个答案:

没有答案