"Mac开发人员"和“第三方Mac开发人员应用程序"之间的区别

编程入门 行业动态 更新时间:2024-10-26 04:25:34
本文介绍了"Mac开发人员"和“第三方Mac开发人员应用程序"之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

Code Signing Identity中的Mac Developer和3rd Party Mac Developer Application配置文件之间有什么区别?哪个是Mac App Store发行版?

解决方案

我也在这个时候挠头了.

适用于Mac的工具工作流程指南" 中对此进行了说明:

developer.apple/library/mac/#documentation/ToolsLanguages/Conceptual/OSXWorkflowGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40011201-CH1-SW1

(与Apple一样,这些主题非常隐晦,并非总是很好地解释).

以下是一些相关段落:

证书的名称以文本"Mac Developer"开头,用于 Mac开发证书,第三方Mac开发者应用程序" Mac提交证书和"3rd Party Mac Developer Installer" Mac Installer证书

还有

开发证书应显示在我的证书"中 钥匙串访问"中的类别".证书名称以 文本"Mac Developer:",后跟您的开发名称 证书,如图3-2所示

还有

如果您是团队代理或管理员,并且您请求分配 证书,您的发行和开发人员证书都将出现 在钥匙串访问"的我的证书"类别中,如图所示 3-3.发行证书的开头是"3rd Party Mac" 开发人员",然后是证书类型和您的团队名称.

最后,

使用Mac提交证书签名

在创建档案之前,请使用Mac对项目进行签名 提交证书.

...

只有团队代理或管理员可以获取和使用发行版 为此目的的证书.如果尚未创建,请创建 您的分发证书,如创建签名"中所述 证书".稍后,当您提交到Mac App Store时,您就是 要求选择Mac Installer证书来对安装程序进行签名 包.

下一步,将代码签名身份"构建设置设置为Mac 以文字"3rd Party Mac"开头的提交证书 开发人员应用程序"(如对应用程序签名"中所述).运行你的应用 确认这是您要发布的版本.

因此,基本上,"Mac开发人员:" 证书是用于对代码进行签名的个人开发人员证书. 第三方Mac开发者" 证书,如果您想提交到App Store并具有所需的角色.

请勿混淆,请注意,还有开发人员ID应用程序" 和开发人员ID安装程序" 证书.这些用于对应用程序进行签名以在App Store之外分发.在同一文档中的在Mac App Store外部分发"

下进行了描述

更新:原来提到的Apple文档的链接现在已过时.现在,在更新的应用程序分发指南"中可以对此进行更好的解释- developer.apple/library/mac/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html#//apple_ref/doc/uid/TP40012582 -CH31-SW41

What is the difference between Mac Developer and 3rd Party Mac Developer Application profiles in Code Signing Identity? Which one is for Mac App Store distribution?

解决方案

I was scratching my head at this for some time too.

This is explained in "Tools Workflow Guide for Mac", found here:

developer.apple/library/mac/#documentation/ToolsLanguages/Conceptual/OSXWorkflowGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40011201-CH1-SW1

(as usual with Apple, these topics are pretty cryptic and not always explained well).

Here are some relevant paragraphs:

The name of the certificate begins with the text "Mac Developer" for a Mac Development certificate, "3rd Party Mac Developer Application" for a Mac Submission certificate, and "3rd Party Mac Developer Installer" for a Mac Installer certificate

And

The development certificate should appear in the My Certificates category in Keychain Access. The name of the certificate begins with the text "Mac Developer:" followed by your name for a development certificate as shown in Figure 3-2

And

If you are a team agent or admin and you requested a distribution certificate, both your distribution and developer certificates appear in the My Certificates category in Keychain Access as shown in Figure 3-3. The distribution certificates begin with the text "3rd Party Mac Developer" followed by the type of certificate and your team name.

Finally,

Signing Using a Mac Submission Certificate

Before you create an archive, sign your project using the Mac Submission certificate.

...

Only a team agent or admin can obtain and use distribution certificates for this purpose. If you haven’t already done so, create your distribution certificates as described in "Creating Signing Certificates" now. Later when you submit to the Mac App Store, you are asked to select the Mac Installer certificate to sign the installer package.

Next, set the Code Signing Identity build setting to the Mac Submission certificate that begins with the text "3rd Party Mac Developer Application" as described in "Signing an App." Run your app to verify that this is the build you want to release.

So basically, "Mac Developer:" certificate is a personal developer certificate for just signing the code. "3rd Party Mac Developer" certificate if you want to submit to the App Store and have the required role to do so.

Not to be confused, note that there is also "Developer ID Application" and "Developer ID Installer" certificates. These are used to sign the application for distribution outside of the App Store. Described in the same document under "Distributing Outside the Mac App Store"

UPDATE: The link to Apple's documentation originally mentioned is now obsolete. This is now better explained in the updated "App Distribution Guide" here - developer.apple/library/mac/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html#//apple_ref/doc/uid/TP40012582-CH31-SW41

更多推荐

"Mac开发人员"和“第三方Mac开发人员应用程序"之间的区别

本文发布于:2023-11-27 01:25:54,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1636000.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:开发人员   第三方   应用程序   区别   quot

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!