cordova-plugin-local-notifications: Unable to install 0.8.5 for ios

WARNING: IF YOU IGNORE THIS TEMPLATE, WE’LL IGNORE YOUR ISSUE. YOU MUST FILL THIS IN!

Provide a general summary of the issue.

Your Environment

  • Plugin version:0.8.5
  • Platform:mac
  • OS version:10.12
  • Device manufacturer / model:Apple
  • Cordova version (cordova -v):7.0.1
  • Cordova platform version (cordova platform ls):ios 4.4.0
  • Plugin config cordova-plugin-device 1.1.6
  • Ionic Version (if using Ionic)

Expected Behavior

Tell us what should happen exec install cordova plugin install ./cordova-plugin-local-notifications-0.8.5 (which download from your release) or cordova plugin add git+https://github.com/katzer/cordova-plugin-local-notifications.git#ios10

Actual Behavior

Tell us what happens instead

Steps to Reproduce

Reproduce this issue; include code to reproduce, if relevant

Context

What were you trying to do?

Debug logs

Include iOS / Android logs

  • ios XCode logs
  • Android: $ adb logcat

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 16

Most upvoted comments

Got cordova 7 running this smoothly now from the official repository.

In Ionic v1 we made a fresh install by copying all files to a new directory to perform a cleanup. Then:

  1. Remove every cordova plugin reference from config.xml, remove all cordova references from package.json
  2. rm -Rf plugins/
  3. rm -Rf node_modules/
  4. rm -Rf platforms/
  5. Add all plugins one by one with cordova plugin add cordova-my-plugin
  6. npm install note: Node >= 6 works with ionic / cordova 7, but npm 5 will cause horrors
  7. Finally add the platform with cordova platform add ios.

My configuration being:

global packages:

    @ionic/cli-utils : 1.4.0
    Cordova CLI      : 7.0.1
    Ionic CLI        : 3.4.0

local packages:

    @ionic/cli-plugin-cordova : 1.4.0
    @ionic/cli-plugin-ionic1  : 2.0.0
    Cordova Platforms         : android 6.2.3 ios 4.4.0
    Ionic Framework           : ionic1 1.3.3

System:

    Node       : v7.10.0
    OS         : macOS Sierra
    Xcode      : Xcode 8.3.3 Build version 8E3004b
    ios-deploy : 1.9.1
    ios-sim    : 5.0.13
    npm        : 4.2.0

I was able to install the plugin manually. This is an Ionic v1 project so your config may differ.

$ cd project/plugins/
$ git clone git@github.com:katzer/cordova-plugin-local-notifications.git
$ git clone git@github.com:katzer/cordova-plugin-app-event.git # dependency for notifications

Then in project/config.xml add this:

...
<plugin name="de.appplant.cordova.plugin.local-notification" spec="^0.8.5" />
...

More tips here: https://github.com/katzer/cordova-plugin-local-notifications/wiki/03.-Installation

@scottbcovert you’re welcome!

Consider using nvm or nodenv for multiple node versions on same system. npm is package, so I’m not sure if you can hotswap that so easily.

You should be good with Node 6 for a while:

nodelts