Tuesday, March 7, 2017

Avoid the annoying step to trust enterprise apple dev certificate each time after installing a new app

A recent change from Apple requires developer to trust the enterprise developer certificate each time when installing and run a new app on ios device.

Basically, when a new app is installed on device signed with enterprise dev cert, developer has to go to device settings\general\profile page to trust the cert first before able to debug or run the the app. Once the app is deleted and installed again, the dev has to repeat the same trust step again.

One way to avoid this is explicitly install the dev cert on device:
1. open xocde preference menu, select Account tab, and select the appid for enterprise dev account
2. from the team section select the enterprise team
3. click view detail button.
4. in the detailed dialog box signing identigty section, select "ios development" item. right click it and export
5. send an email with the exported dev certificate to your ios device, and install the cert on your ios device.
6. The enterprise dev cert will be trusted and no need to explicitly trust it again anymore.

Wonder why apple could not add a "DO NOT BOTHER" button on the cert trust page.

No comments:

Post a Comment