Tekkaman

导航

 

Entitlements

  Entitlements confer specific capabilities or security permissions to your iOS or OS X app.

  You can set many entitlements using the Summary tab of the Xcode target editor. Other entitlements require editing a target’s entitlements property list file. Finally, a few entitlements are inherited from the iOS provisioning profile used to run the app.

  Entitle来源于3处,第一是项目Summary中的配置,第二是entitlements属性文件,第三继承于provisioning file。

 

  The sort of value to associate with an entitlement key depends on the key. Many entitlement keys take Boolean values. For entitlements defined in a property list in an Xcode project, a Boolean entitlement value is either <true/> or <false/>. Some entitlement keys take a string or an array of strings as a value. Refer to the chapters in this document for specifics on the values to apply to the various entitlement keys.

  To use any entitlement keys, you must code sign your app because an app’s entitlements are built in to its code signature.

  entitlements被写入代码签名中。(意即通过Mach-O的bin文件,可以导出entitlement)

 

  The following table shows the push notification entitlement keys that apply to the iOS and OS X platforms:

  

参考:

https://developer.apple.com/library/mac/documentation/Miscellaneous/Reference/EntitlementKeyReference/Chapters/AboutEntitlements.html

posted on 2014-05-08 09:54  Tekkaman  阅读(2234)  评论(0编辑  收藏  举报