Nighttime Peanut Migrations

    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"

    Keywords

    Install

    npm i nativescript-custom-entitlements

    DownloadsWeekly Downloads

    4

    Version

    0.2.0

    License

    MIT

    Last publish

    Collaborators

    • wesley.quintor
    • spike1292
    • snorvisable
    • pcmulder
    • jphoiting
    • tomvoigt
    • baudin999
    • ssedlan
    • lmeijdam
    • petervdwal
    • jboeijenga
    • essent-bot
    • vani.anandamurthy
    • garkenbout
    • jayanti88
    • dylankruyff
    • abhinandan.nasalapure.essent
    • pavandara
    • jeroenvanderlast
    • c.elshof
    • thedcsherman
    • lucashorward
    • natasa
    • bojan80
    • hannahmauritz
    • dbeaart
    • ramondevaan_essent
    • sanderfasen
    • tophernl
    • ariska.keldermann.essent
    • nimitha
    • markdanney
    • sridharsekar
    • essent2020
    • mvlagen
    • emielvanrijn
    • n9iels
    • j.miletic
    • koengriffioenessent
    • geert-navara
    • davidfesten
    • gijsbertvancorstanje_essent
    • edwincaspersessent
    • lucaclae
    • wxavi
    • dimitriosmandekis
    • ui929171
    • m.cetkovic
    • bryansijs
    • mleen
    • ron.houben.essent
    • nielsvdhorst
    • stfnvar
    • walkerrunpdx
    • oscarlodriguez
    • dennis-montana