【问题标题】:Apple Distribution vs "3rd Party" certificatesApple 分发与“第 3 方”证书
【发布时间】:2020-11-25 04:11:55
【问题描述】:

我在 Mac App Store 中分发了一个 Mac 应用程序。

以前,我会使用我的“3rd Party Mac Developer Application”证书对编译后的应用程序进行签名,然后在productbuild 命令中创建一个.pkg 并使用我的“3rd Party Mac Developer Installer”证书对其进行签名.

  1. 这两个现在replaced 都带有“Apple Distribution” 证书?
  2. 我还需要“Mac 安装程序分发”证书来签名吗 .pkg?

【问题讨论】:

  • 我刚刚添加了一个赏金。我也有同样的问题

标签: macos codesign mac-app-store


【解决方案1】:

简答:

  1. 是的。
  2. 没有。

一点背景知识:在 Xcode 11 中,两个新的证书类型(“Apple Development”和“Apple Distribution”)were added 鼓励 Apple 的 own ARM platform 应用程序开发 platform-agnostic applications

以前,与平台无关的应用程序的开发人员在必须在“iOS Distribution”和“Mac Distribution”证书类型之间选择时可能会感到困惑,因为 ARM 应用程序运行良好 在基于 iOS 的设备和基于 M1 的 Mac 上都。新的证书类型消除了这种歧义。

此外,在此概念模型中,“Mac App 分发”(俗称“第 3 方 Mac 开发者 应用程序”,用于 codesign)和“Mac Installer Distribution”(或“3rd Party Mac Developer Installer”,用于productbuild)现在是一种证书类型“Apple Distribution”,即“Apple Distribution” " 证书现在可以进行代码签名了。

您仍可以使用现有的“Mac App Distribution”证书进行代码签名,使用“Mac Installer Distribution”证书进行产品构建,但您在 Xcode 11 中创建的新证书将使用新类型。

【讨论】:

  • 谢谢,完美的解释!
猜你喜欢
  • 1970-01-01
  • 2019-02-03
  • 2014-08-23
  • 2021-01-23
  • 1970-01-01
  • 2017-01-05
  • 2023-03-16
  • 1970-01-01
  • 2018-01-12
相关资源
最近更新 更多