Hello there. I've clone the example branch, and when i do cordova run ios the following error occurs:
Error: ENOENT: no such file or directory, stat '/Users/calvin/testfolder/cordova-plugin-local-notifications/plugins/de.appplant.cordova.plugin.local-notification'
Is there something I've missed?
No, you didn't miss anything. Just go the /Users/calvin/testfolder/cordova-plugin-local-notifications/plugins/ directory, and do an ls -al. You'll see that someone checked in a symbolic link:
de.appplant.cordova.plugin.local-notification -> /Users/sebastian/Documents/github/cordova-plugin-local-notifications
It doesn't matter much, because after that, you'll run into other issues:
Running command: /Users/erikp/Downloads/cordova-plugin-local-notifications-example/platforms/ios/cordova/run
module.js:339
throw err;
^
Error: Cannot find module './Api'
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/Users/erikp/Downloads/cordova-plugin-local-notifications-example/platforms/ios/cordova/run:24:11)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:457:10)
Removing the symbolic link and re-adding the plugin via registry (cordova plugin add [email protected]) seemed to fix it for me.
Can this be closed now. It looks like its working.
It doesn't work for me, i got the error. How can i fix it and make my ios emulator works?
No target specified for emulator. Deploying to iPhone-SE, 10.2 simulator
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=163):
Unable to lookup in current state: Shutdown
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=163):
Unable to lookup in current state: Shutdown
Error: ENOENT: no such file or directory, stat '/Users/Mike/Library/Logs/CoreSimulator/CBECF4C3-2606-49E1-AA56-50577D1FBAF0/system.log'
Use the template in #1188 and raise a new issue. This one is from over a year ago and a lot has changed.
This problem is still relevant.
I just ran cordova run ios for the very first time. We never use this command and rarely use the simulator except for small issues. as the GPS on the simulator is junk and Apple push notifications don't work.
The problem doesn't appear to be the plugin.
Works fine for me.
No idea.
I have not done anything to get cordova run ios to work.
It just works.
Most helpful comment
This problem is still relevant.