nativescript-custom-entitlements

0.2.0 • Public • Published

Nativescript Xcode 8 custom entitlements

Nativescript hook for supporting custom xcode 8 entitlements, see https://github.com/NativeScript/nativescript-cli/issues/2075

npm version

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

<?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>

Run Demo

npm run setup
npm run demo.ios

Check entitlements

npm run setup
npm run resetdemo
cd demo
tns build ios --for-device
cp demo/platforms/ios/build/device/demo.ipa build/demo/platforms/ios/build/device/demo.zip
unzip demo/platforms/ios/build/device/demo.zip -d demo/platforms/ios/build/device/
codesign -d --entitlements :- "demo/platforms/ios/build/device/Payload/demo.app"

Readme

Keywords

Package Sidebar

Install

npm i nativescript-custom-entitlements

Weekly Downloads

4

Version

0.2.0

License

MIT

Last publish

Collaborators

  • danny.reijntjens.essent
  • louise.hermosa
  • milosdelgorge
  • tijmen-amsing-essent
  • timo_aerts
  • jesse.schlienkamp.essent
  • essent-cloud-team
  • rduijf
  • jwaarsenburg
  • julian.essent
  • vasilis.bankov_essent.nl
  • janelletavares
  • sgoris-essent
  • azkarmoulana
  • essent.jesse
  • danielkamphorst
  • patrickvangemert
  • fernandesyuri
  • davidvpe
  • ramkrivaseon
  • p33969
  • s69018
  • erikbrgr-essent
  • radurrant
  • veslav
  • mrtnvh
  • jorisdiesvelt
  • ilija_essent
  • wouter.everse.essent.nl
  • m90992
  • niels_essent
  • nl.santhosh.kumar
  • stefanipeters
  • jeroenverhoevenessent
  • thijsvanerp
  • vinodperumal01
  • dmestry
  • panagiotis.doxopoulos
  • nishanthessent
  • ekta123
  • icyrizard
  • thomasessent
  • melihkorkmaz
  • luukpook
  • svloon
  • spike1292
  • rik_bosch_essent
  • wvdkop-essent
  • sharanyasl
  • sreejanarayanankuttty
  • alihabib
  • geert.jan.evers
  • jimfranke1
  • areijngoudt
  • thijsbloks
  • sanjaikumarsankar
  • essent-mobile-app-team
  • jelle-tno
  • jharskamp
  • m71629
  • frwielstra
  • joren-navara
  • thomas_smeele
  • btaluy
  • geert.rutten
  • vincentbitter
  • falcoworkstno
  • cdebruin
  • niek-essent
  • wesley.quintor
  • snorvisable
  • pcmulder
  • jphoiting
  • tomvoigt
  • lmeijdam
  • petervdwal
  • jboeijenga
  • essent-bot
  • vani.anandamurthy
  • jayanti88
  • abhinandan.nasalapure.essent
  • pavandara
  • jeroenvanderlast
  • c.elshof
  • thedcsherman
  • lucashorward
  • hannahmauritz
  • dbeaart
  • tophernl
  • nimitha
  • markdanney
  • sridharsekar
  • mvlagen
  • emielvanrijn
  • n9iels
  • j.miletic
  • koengriffioenessent
  • geert-navara
  • davidfesten
  • lucaclae
  • ui929171
  • m.cetkovic
  • mleen
  • nielsvdhorst
  • stfnvar
  • walkerrunpdx
  • oscarlodriguez
  • dennis-montana