简体   繁体   English

企业分发供应配置文件到期

[英]Enterprise Distribution Provisioning Profile Expiration

Our company enterprise provisioning profile is set to expire in a month, but our distribution certificate is set to expire in a few more years. 我们公司的企业配置文件将在一个月内到期, 但我们的分发证书将在几年后到期。 What are our options? 我们有什么选择?

Do I need to regenerate a new provisioning profile and create a new build that I have to redistribute? 我是否需要重新生成新的配置文件并创建一个我必须重新分发的新版本?

Or is there a simpler option like just sending out the new provisioning profile I generate? 或者是否有一个更简单的选项,比如发送我生成的新配置文件? or better yet I don't have to do anything? 或者更好,但我不需要做任何事情?

Thanks 谢谢

So generating a new provisioning profile will not invalidate any of the apps out there on devices. 因此,生成新的配置文件不会使设备上的任何应用程序无效。 Simply generate the new provisioning profile, build a new version of the app with the new provisioning profile, and just make sure all your users / testers update to the new version of the app. 只需生成新的配置文件,使用新的配置文件构建新版本的应用程序,并确保所有用户/测试人员都更新到新版本的应用程序。

Alternatively, you could generate the provisioning profile and then distribute the profile to all the devices through MDM (if you're using an MDM solution) or by email (not a great experience). 或者,您可以生成配置文件,然后通过MDM(如果您使用的是MDM解决方案)或通过电子邮件(不是很棒的体验)将配置文件分发到所有设备。 Basically the app will continue to run as long as the new provisioning profile gets on the device before the old one expires, whether that's through MDM, manually, or by installing a new version of the app with the provisioning profile in the .app payload. 基本上,只要新设置配置文件在旧设备到期之前到达设备,无论是通过MDM,还是通过在.app负载中安装配置文件的新版本的应用程序,应用程序将继续运行。 Or if your users download any app with the new provisioning profile, assuming that provisioning profile is set up with a wildcard app ID, that will also correct it (see information about that here: https://stackoverflow.com/a/29121777/3708242 ). 或者,如果您的用户使用新的配置文件下载任何应用程序,假设配置文件设置了通配符应用程序ID,这也将更正它(请参阅此处的信息: https//stackoverflow.com/a/29121777/ 3708242 )。

Basically, you need to do something before the provisioning profile expires (the sooner the better) and get that new provisioning profiles on the device (through one of the options above). 基本上,您需要在配置配置文件到期之前做一些事情(越快越好)并在设备上获取新的配置文件(通过上面的选项之一)。

The easiest thing to do is to go into developer.apple.com, choose the expiring provisioning profile, choose EDIT, then Generate. 最简单的方法是进入developer.apple.com,选择即将到期的配置文件,选择EDIT,然后选择Generate。

It will create a new one for you, and you will need to refresh Xcode's stash of provisioning profiles before you re-build. 它将为您创建一个新的,您需要在重新构建之前刷新Xcode的供应配置文件。 However, if the app is already out to your "workforce" you will need to redistribute to your users 但是,如果应用程序已经出现在您的“劳动力”中,则需要重新分配给您的用户

From Apple's documentation : 来自Apple的文档:

Managing Expiring Certificates and Provisioning Profiles 管理过期证书和供应配置文件

You are responsible for managing your team's certificates and provisioning profiles. 您负责管理团队的证书和配置文件。 Apple Developer Enterprise Program certificates expire after three years and provisioning profiles expire after one year. Apple开发人员企业计划证书在三年后到期,配置文件在一年后到期。

Before a distribution certificate expires, create an additional distribution certificate, described in Creating Additional Enterprise Distribution Certificates. 在分发证书到期之前,请创建其他分发证书,如创建其他企业分发证书中所述。 You cannot renew an expired certificate. 您无法续订过期的证书。 Instead, replace the expired certificate with the new certificate, described in Replacing Expired Certificates. 而是使用新证书替换过期的证书,如替换过期的证书中所述。

If a distribution provisioning profile expires, verify that you have a valid distribution certificate and renew the provisioning profile, described in Renewing Expired Provisioning Profiles. 如果分发配置文件过期,请验证您是否具有有效的分发证书并续订配置文件,如更新过期的配置文件中所述。

Xcode manages your development certificates and team provisioning profiles for you. Xcode为您管理开发证书和团队配置文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM