xcode “Mac Developer”和“3rd Party Mac Developer Application”的区别
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13196291/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Difference between “Mac Developer” and “3rd Party Mac Developer Application”
提问by miho
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?
Mac Developer
和3rd Party Mac Developer Application
profile和有什么不一样Code Signing Identity
?哪一个是用于 Mac App Store 分发的?
回答by danielv
I was scratching my head at this for some time too.
我也为此挠头一段时间。
This is explained in "Tools Workflow Guide for Mac", found here:
这在“适用于 Mac 的工具工作流程指南”中进行了解释,可在此处找到:
(as usual with Apple, these topics are pretty cryptic and not always explained well).
(与 Apple 一样,这些主题非常神秘,并不总是很好解释)。
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
证书名称以文本“Mac Developer”开头,表示 Mac 开发证书,“3rd Party Mac Developer Application”表示 Mac 提交证书,“3rd Party Mac Developer Installer”表示 Mac 安装程序证书
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
开发证书应出现在 Keychain Access 的 My Certificates 类别中。证书名称以文本“Mac Developer:”开头,后跟您的开发证书名称,如图 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.
如果您是团队代理或管理员,并且您申请了分发证书,则您的分发证书和开发人员证书都会出现在 Keychain Access 的 My Certificates 类别中,如图 3-3 所示。分发证书以文本“3rd Party Mac Developer”开头,后跟证书类型和您的团队名称。
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.
使用 Mac 提交证书签名
在创建存档之前,请使用 Mac 提交证书对您的项目进行签名。
...
只有团队代理或管理员才能为此目的获取和使用分发证书。如果您还没有这样做,请立即按照“创建签名证书”中的说明创建分发证书。稍后当您提交到 Mac App Store 时,系统会要求您选择 Mac 安装程序证书以对安装程序包进行签名。
接下来,将代码签名身份构建设置设置为以文本“3rd Party Mac Developer Application”开头的 Mac 提交证书,如“签署应用程序”中所述。运行您的应用程序以验证这是您要发布的版本。
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.
所以基本上,“Mac 开发人员:”证书是用于签署代码的个人开发人员证书。“3rd Party Mac Developer”证书,如果您想提交到 App Store 并具有这样做所需的角色。
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"
不要混淆,请注意还有“Developer ID Application”和“Developer ID Installer”证书。这些用于签署应用程序以在 App Store 之外分发。在“在 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
更新:最初提到的 Apple 文档链接现已过时。现在在此处更新的“应用程序分发指南”中对此进行了更好的解释 - https://developer.apple.com/library/mac/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html#//apple_ref/doc/uid /TP40012582-CH31-SW41