iOS 企业配置文件过期
每个 iOS 企业配置文件都会在 1 年后过期,对吗?当它们过期并续订后,您是否需要为所有设备重新安装新的 Provisioning Profile,或者设备是否会从 Apple 的证书服务器自动续订?
那么,换句话说,在分发企业应用程序后,您是否需要每年更新所有设备,或者您可以简单地在开发者门户上或通过 Xcode 更新证书吗?
Every iOS Enterprise Provisioning Profiles expires after 1 year, correct? After they expire and you renew them, do you need to re-install the new Provisioning Profile to all the devices, or do the devices get renewed automatically from Apple's certificate server?
So, in other words, after you distribute an Enterprise app, do you need to update all the devices every year or can you simply renew the certificate on the Developer Portal or via Xcode?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
BigDave 的答案和我的答案此处(如 Thilo 发布的)实际上涵盖了所有内容你的问题有根据。如果您考虑重新签名并再次分发所有应用程序,我只会添加两个新内容,这是一个很大的麻烦。
您不需要应用程序的代码即可使用新证书重新签名。您可以通过终端来完成此操作(如果您有大量应用程序,则可能会创建一个 shell 脚本)。检查此线程。
如果您的企业中分布有大量应用,请考虑部署 MDM 服务器。这样,您就可以重新签名/更新您的应用程序,并以最少的用户交互将它们无线推送到已注册的设备上。
编辑:
关于过期的配置文件,文档指出:
BigDave's answer and my answer here(as Thilo posted) actually cover all grounds in your question. I would just add two new things if you consider re-signing and distributing all your apps again, a big hassle.
You don't need the code of your app to re-sign with new certificate. You can do it through the terminal(and probably create a shell script if you have large number of apps). Check this thread.
If you have large number of apps distributed in your enterprise, consider deploying a MDM server. That way you can re-sign/Update your apps and push them wirelessly on registered devices with minimal user interaction.
EDIT:
In regards to expiring provisioning profiles, the documentation states:
来自苹果网站:
所以每年更新一次应用程序实际上是最好的情况。如果应用程序使用只剩下 6 个月的分发证书进行签名,则需要在 6 个月后进行更新。
From the apple site:
So updating an app once a year is actually the best case. If the app is signed with a distribution certificate with only 6 months left then it will need to be updated after 6 months.
只需向您的用户发送更新的 .mobiprovision 配置文件,无需更新现有应用程序。
Just send your users the renewed .mobiprovision profile, no need to update existing apps.