Reputation: 23268
I am doing a research now for iOS inhouse app. And I may need to add an entitlement to my app to implement some functionality.
I know that it doesn't work with iOS Developer program, because there is no way to add entitlements to provisioning profile. So, signed app is rejected by device.
Does iOS Enterprise Program allow to add entitlements to provisioning profiles?
UPD. I am taking about custom entitlements (as example "com.apple.springboard.opensensitiveurl").
Also, there was a change between iOS 3.X and iOS 4 and later (https://developer.apple.com/legacy/library/technotes/tn2250/_index.html#//apple_ref/doc/uid/DTS40009933-CH1-TROUBLESHOOTING_GUIDE-CODE_SIGNING_ENTITLEMENTS).
If I try just adding entitlements file and sign it with provisioning profile which doesn't have entitlements, I am getting "The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile."
Upvotes: 8
Views: 3907
Reputation: 23268
Enterprise program doesn't allow to add custom entitlements to your provisioning profiles. So, you can't create enterprise apps which have special entitlements.
One more additional note:
XCode allows to add entitlements file. However, it's rejected by iOS device, because entitlements in it won't match your provisioning profile.
Upvotes: 6
Reputation: 8309
You add entitlements to the project and not to the provisioning profile.
Upvotes: -2
Reputation: 5393
The standard iOS Developer Program DOES allow us to do "ad-hoc" distribution using an entitlements.plist
And yes you can do ad-hoc provisioning in an Enterprise account too.
Upvotes: 1