【Entitlements】html
Entitlements confer specific capabilities or security permissions to your iOS or OS X app.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.ui
Entitle來源於3處,第一是項目Summary中的配置,第二是entitlements屬性文件,第三繼承於provisioning file。this
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.spa
To use any entitlement keys, you must code sign your app because an app’s entitlements are built in to its code signature.code
entitlements被寫入代碼簽名中。(意即經過Mach-O的bin文件,能夠導出entitlement)orm
The following table shows the push notification entitlement keys that apply to the iOS and OS X platforms:htm
參考:blog