Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
384 views
in Technique[技术] by (71.8m points)

iphone - iOS Enterprise Provisioning Profile Expiration

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.

  1. 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.

  2. 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:

If the expired provisioning profile is installed on your device, remove it, as described in Verifying and Removing Provisioning Profiles on Devices. If the provisioning profile is an ad hoc provisioning profile, re-sign and distribute your app using the regenerated provisioning profile, as described in Exporting Your App for Testing (iOS, tvOS, watchOS).


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...