"Mac开发人员"和“第三方Mac开发人员应用程序"之间的区别 [英] Difference between “Mac Developer” and “3rd Party Mac Developer Application”

查看:311
本文介绍了"Mac开发人员"和“第三方Mac开发人员应用程序"之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

解决方案

我也在这个时候挠头了.

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

还有

开发证书应显示在我的证书"中 钥匙串访问"中的类别".证书名称以 文本"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文档的链接现在已过时.现在,在更新的应用程序分发指南"中可以对此进行更好的解释- 解决方案

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

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

https://developer.apple.com/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 - https://developer.apple.com/library/mac/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html#//apple_ref/doc/uid/TP40012582-CH31-SW41

这篇关于"Mac开发人员"和“第三方Mac开发人员应用程序"之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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