xcode iOS 配置和证书 - 撤销/更新会影响 App Store 应用程序吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15944796/
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
iOS Provisioning and Certifcates - Will Revoke/Renew effect App Store Apps?
提问by Andrei Herford
While working on a new version of one of my apps Xcode told me today, that it cannot run the project any more because the development profile has expired.
在开发我的一个应用程序的新版本时,Xcode 今天告诉我,它无法再运行该项目,因为开发配置文件已过期。
The organizer shows for alldevelopment profiles "Valid signing identity not found" and for alldistribution profiles "Profile has expired".
组织者显示所有开发配置文件“未找到有效签名身份”和所有分发配置文件“配置文件已过期”。
Of course it is not a suprise that profiles expire. In the past all I had to do was a click on "Renew" but this does not work any more. After entering user name and password for my Account Xcode shows the error message "No value was provided for the parameter 'certificateIds'"...
当然,配置文件过期并不奇怪。在过去,我所要做的就是单击“续订”,但这不再起作用。为我的帐户输入用户名和密码后,Xcode 显示错误消息“未为参数 'certificateIds' 提供值”...
What can I do?
我能做什么?
Instead of using the Organizer the directly visited the Provisioning Center webpage. There are two entries within the section "iOS Apps/Certificates/All": 1. "My Name iOS Development Expires: Mar, 17 2012" 2. "My Name Development Expires: Mar, 19 2013"
直接访问供应中心网页而不是使用组织者。“iOS 应用程序/证书/全部”部分中有两个条目: 1.“我的名字 iOS 开发到期:2012 年 3 月 17 日” 2.“我的名字开发到期:2013 年 3 月 19 日”
A click on one of the certificates show option to "Revoke" or "Download" certificate. There is also a "+ Button" to create a new Certificate but the option "iOS App Development Sign development versions of your iOS app." is deactivated.
单击其中一个证书会显示“撤销”或“下载”证书选项。还有一个“+按钮”可以创建新证书,但选项“iOS App Development Sign development versions of your iOS app”。已停用。
In the section "Provision Profiles" all development profiles are marked as "Active" and all distribution profile as "Expired". Only "Edit" and "Delete" options are available while a "Renew" option is missing. The "Edit" option shows the profile details and "Generate" button. I would assume that "Generate" creates a new version, but after pressing the button only a progress indicator is shown which comes to no result. After I reload the page the status is unchanged.
在“Provision Profiles”部分,所有开发配置文件都标记为“Active”,所有分发配置文件都标记为“Expired”。只有“编辑”和“删除”选项可用,而缺少“更新”选项。“编辑”选项显示配置文件详细信息和“生成”按钮。我会假设“生成”创建了一个新版本,但在按下按钮后只显示一个进度指示器,但没有结果。重新加载页面后,状态不变。
So, there are no options to renew the existing certificates and profiles (are there?). Thus I have to create new certificates but - as described - this option is grayed out. I Assume that I have to delete / revoke the existing certificates first. A click on "Revoke" shows a very explicit warning: "Revoking this certificate will invalidate it and any related services or provisioning profiles that use this certificate may be affected."
因此,没有更新现有证书和配置文件的选项(有吗?)。因此,我必须创建新证书,但 - 如上所述 - 此选项呈灰色。我假设我必须先删除/撤销现有的证书。单击“吊销”会显示一个非常明确的警告:“吊销此证书将使其失效,并且使用此证书的任何相关服务或配置文件可能会受到影响。”
I am afraid that revoking the certificate might effect my existing app in the App Store - that the app might be removed from sale because the certificate they are based on was deleted.
我担心撤销证书可能会影响我在 App Store 中现有的应用程序 - 该应用程序可能会因为它们所基于的证书被删除而被下架。
Of course this is a scenario I would like to avoid. Does anyone know for surewhat happens when using the Revoke option for an existing certificate. Does this even effect App Store apps?
当然,这是我想避免的情况。有谁知道对现有证书使用撤销选项时会发生什么。这甚至会影响 App Store 应用程序吗?
Thank you very much!
非常感谢!
回答by Mike Weller
For App Store apps, you don't need to worry. The signing information on app store binaries is only used for the initial validation to ensure it came from you. Once it has been uploaded the binary will be transformed and resigned with Apple's private key, encrypted with Fairplay, etc.
对于 App Store 应用程序,您无需担心。应用商店二进制文件上的签名信息仅用于初始验证以确保它来自您。上传后,二进制文件将被转换并使用 Apple 的私钥签名,使用 Fairplay 加密等。
This means revoking your distribution certification will not affect live apps. You only need to worry if you have an enterprise account.
这意味着撤销您的分发认证不会影响实时应用程序。如果您拥有企业帐户,则只需担心。
回答by Engin Kurutepe
No, revoking certificates does not affect apps already on sale. For that matter it won't even affect apps submitted for review. (We had renew a certificate while an update was in review. No problems at all)
不,撤销证书不会影响已经在售的应用程序。就此而言,它甚至不会影响提交审核的应用程序。(我们在更新时更新了证书。完全没有问题)