Nativescript hook for supporting custom xcode 8 entitlements, see NativeScript/nativescript-cli#2075
npm install nativescript-custom-entitlements --save-dev
You'll need to have a entitlements file app.entitlements
in the app/App_Resources/iOS
folder.
TIP You can open the project in xcode 8 and activate the entitlements you need. xcode will generate an entitlements file which you can copy to your nativescript project
app/App_Resources/iOS/app.entitlements
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>aps-environment</key>
<string>development</string>
</dict>
</plist>