iOS Enterprise Program是否允许向配置文件添加权利? [英] Does iOS Enterprise Program allow to add entitlements to provisioning profiles?

查看:103
本文介绍了iOS Enterprise Program是否允许向配置文件添加权利?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为iOS内部应用程序进行研究。我可能需要为我的应用添加权利以实现某些功能。

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.

我知道它不适用于iOS Developer程序,因为没有办法将权利添加到配置文件中。因此,已签名的应用程序将被设备拒绝。

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.

iOS企业计划是否允许向配置文件添加权利?

Does iOS Enterprise Program allow to add entitlements to provisioning profiles?

UPD。我正在考虑自定义权利(例如com.apple.springboard.opensensitiveurl)。

UPD. I am taking about custom entitlements (as example "com.apple.springboard.opensensitiveurl").

此外,iOS 3.X和iOS 4之间发生了变化,之后( https://developer.apple.com/legacy/library/technotes/tn2250/_index.html#//apple_ref/doc/uid/DTS40009933-CH1-TROUBLESHOOTING_GUIDE-CODE_SIGNING_ENTITLEMENTS )。

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

推荐答案

企业计划不允许向您的配置文件添加自定义权利。因此,您无法创建具有特殊权利的企业应用。

Enterprise program doesn't allow to add custom entitlements to your provisioning profiles. So, you can't create enterprise apps which have special entitlements.

还有一个额外注释:

XCode允许添加权利文件。但是,它被iOS设备拒绝,因为其中的权利与您的配置文件不符。

XCode allows to add entitlements file. However, it's rejected by iOS device, because entitlements in it won't match your provisioning profile.

这篇关于iOS Enterprise Program是否允许向配置文件添加权利?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆