ios - 我的企业开发者帐户成员(member)资格到期后,我的企业应用程序会怎样?

标签 ios certificate provisioning-profile enterprise membership

我有一个 Apple 企业帐户。我的三个应用程序从这个帐户分发给我的用户。我不使用 App Store 分发这些应用程序,因为它们是企业应用程序。

现在,如果我的企业开发者计划成员(member)资格到期,那么这些问题的答案是什么:

  1. What will happen to my currently running apps on user devices (remember apps are not distributed via App Store)?
  2. What will happens if the user does a fresh install of my app?
  3. What will happen to my current account, will I able to access the account?
  4. Will my Enterprise certificate expire immediately?
  5. Will my provisioning profile expire immediately?

最佳答案

扩展 Krunal 的回答:

  1. What will happen to my currently running apps on user devices (remember apps are not distributed via App Store)?

实际运行的应用程序(不只是安装,但仍在内存中积极运行)应该继续运行。但是,如果应用程序停止并且由于任何原因必须重新启动,它可能会或可能不会运行一段时间开发者帐户过期后的短时间内。当您的开发者帐户过期时,您的开发和分发证书将失效。这意味着如果设备检查证书,它们将无效并且应用程序将无法运行。有一些缓存你应该知道,但它不会让应用程序在帐户到期后运行很长时间:

Certificate Validation

The first time an application is opened on a device, the distribution certificate is validated by contacting Apple’s OCSP server. Unless the certificate has been revoked, the app is allowed to run. Inability to contact or get a response from the OCSP server is not interpreted as a revocation. To verify the status, the device must be able to reach ocsp.apple.com. See“Network Configuration Requirements”(page 9).

The OCSP response is cached on the device for the period of time specified by the OCSP server—currently between 3 and 7 days. The validity of the certificate will not be checked again until the device has restarted and the cached response has expired. If a revocation is received at that time, the app will be prevented from running. Revoking a distribution certificate will invalidate all of the applications you have distributed.

An app will not run if the distribution certificate has expired. Currently, distribution certificates are valid for one year. A few weeks before your certificate expires, request a new distribution certificate from the iOS DevCenter, use it to create new distribution provisioning profiles, and then recompile and distribute the updated apps to your users. See “Providing Updated Apps” (page 10)

因此,如果用户在证书失效之前就启动了应用程序,那么缓存的 OCSP 响应充其量会给您带来一周的额外运行时间。无论如何,很快,在 iOS 知道证书已被吊销后,应用程序将在启动时立即退出。

  1. What will happens if the user does a fresh install of my app?

应用程序不会安装。该应用程序将下载到设备上,但是当 iOS 去安装下载的 ipa 时,它会检查现在已被吊销的证书,并取消安装。

  1. What will happen to my current account, will I able to access the account?

是的,您可以登录该帐户。它基本上会恢复为免费的开发者帐户。使用免费帐户,您仍然可以直接构建到设备,并且它们将与一个免费的开发人员配置文件一起安装,该配置文件将在 7 天后过期(相比之下,付费开发人员帐户为 365 天)。您也无法手动控制证书和配置文件。这意味着您无法创建分发证书和配置文件。

  1. Will my Enterprise certificate expire immediately?

是的,Apple 会在帐户过期时吊销您的证书并使您的个人资料失效。这意味着您将无法再使用证书/配置文件创建新版本。

  1. Will my provisioning profile expire immediately?

是的,配置文件将失效。

关于ios - 我的企业开发者帐户成员(member)资格到期后,我的企业应用程序会怎样?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45237387/

相关文章:

ssl - 使用 OpenSSL 测试 SSL/TLS 客户端身份验证

ios - 在共享源之前从 iOS 应用程序中删除签名信息?

ios - 在 Xcode 7.2 中如何在没有苹果开发者程序且没有连接设备的情况下生成 IPA 文件?

ios - 如何在同一类中的两个选择器 View 之间切换

ios - iOS 中的宏录制

openssl - 为 OPC 客户端生成证书

ios - 尝试为 iOS 构建应用程序时出现 Cordova 错误 65

ios - 如果我在新证书(企业分发方法)上更新我的配置文件,我的应用程序会停止吗?

ios - 我可以像 testflight 一样从我的应用程序或网络安装 ipa 吗?

ios - ipad 上的应用程序双存档大小