Nativescript Xcode 8 custom entitlements
Nativescript hook for supporting custom xcode 8 entitlements, see https://github.com/NativeScript/nativescript-cli/issues/2075
Installation
Npm
npm install nativescript-custom-entitlements --save-dev
Configuration
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
Example entitlements file
app/App_Resources/iOS/app.entitlements
aps-environment development
Run Demo
npm run setupnpm run demo.ios
Check entitlements
npm run setupnpm run resetdemocd demotns build ios --for-devicecp demo/platforms/ios/build/device/demo.ipa build/demo/platforms/ios/build/device/demo.zipunzip demo/platforms/ios/build/device/demo.zip -d demo/platforms/ios/build/device/codesign -d --entitlements :- "demo/platforms/ios/build/device/Payload/demo.app"