Provisioning Profile vs Enterprise certificate expiry which take priority

Hello Everyone,

We faced the issue of app is not getting load due to Provisioning Profile got expired but our certificate expiry date is in future.


As per below table, what should happen for pattern#1


Pattern

Certificate

Provisioning Profile

Comment

1

Expired

Valid

App load might fail, ??????

What will happen here.

2

Valid

Expired

App doesn't load, as confirmed earlier.

We did not found any suitable documentation mentioning this above fact.


Apperciate if anyone supports us in this.


Thank you.

Replies

1. An app with a valid enterprise profile will run if the certificate has expired, but only until the next time it checks with Apple's servers, so yes, might run/might fail.


2. An app with an expired enterprise profile will not run even if the certificate is still valid - profiles are on the device, so the check is local...no need to phone home to Apple's server.


There is no priority...both are required to be valid. What happens depends on timing.


>We faced the issue of app is not getting load due to Provisioning Profile got expired but our certificate expiry date is in future.


That's how it is supposed to work. See 2. Next step, you will need to renew the provisioning profile and install that renewed profile on the device; or rebuild and reinstall the app with another non-expired profile, depending on your MDM.