Reputation: 626
I have an iOS "In-House" application with an Enterprice Distribution Provisioning Profile
. Before iOS 8 if it was close to expiration date i could email the renewed provisioning profile, and the user was able to install it from his mail client without having to re install the application.
However, since iOS 8 this is not an option. Therefore i am searching for alternatives to deliver the renewed profile to the users without the need to reinstall the app.
If i managed to download the provisioning profile in the app's sandbox , is there a way to install it programmatically?
Upvotes: 0
Views: 1106
Reputation: 1085
As noted by yourself and wottle, iOS 8 does not allow users to manually install provisioning profiles and you can not (and should not) be installing them programmatically from within the app.
If you are an enterprise company with mobile device management (MDM), you can continue to push the provisioning profiles through your MDM server to your users as the changes in iOS 8 only affect the users' ability to install and remove the profiles manually. Alternatively, your app needs to be updated and user will have to update the app (either through you pushing it through MDM or them going to download the update from your site.
Apple is really pushing that if you have an "in-house" enterprise app that you're distributing and you're wanting things to work without user intervention (automatic updates, provisioning profile updates, etc.), you need to have them enroll into MDM with you.
Upvotes: 1
Reputation: 13619
I think provisioning profiles are supposed to be transparent to the user with iOS 8. I think your best bet will be to provide an app for the user to install that has been built with the new provisioning profile. This will install the new provisioning profile on the device.
Upvotes: 1
Reputation: 668
I was trying something similar, but it seems it is not possible.
All you could do is host the profile on some server and tell Safari to open it. A simple WebView can't display it.
Upvotes: 0