I’m Not 100% sure what happened, but earlier today I was running fine with the following environment:
Cordova CLI: 6.0.0
Ionic Version: 2.0.0-beta.3
Ionic CLI Version: 2.0.0-beta.19
Ionic App Lib Version: 2.0.0-beta.9
ios-deploy version: Not installed
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v5.7.1
Xcode version: Xcode 7.2.1 Build version 7C1002
I then attempted to add the StatusBar plugin as I was having issues with the status bar overlapping, as discussed here: https://github.com/driftyco/ionic/issues/932#issuecomment-199068329. After adding the statusbar plugin, cordova would fail with permission errors. I removed the plugin again, and since everything has been a nightmare. I could no longer build any apps. Serve still works 100%. Anything cordova related failed.
Reverting to Cordova CLI 4.2.0 enabled me to build again. Updating the CLI to 6.0.0 would appear to be successful, however, upon trying
cordova -v - nothing would appear, and would appear as Not Installed using
I’ve since downgraded to Node v 4.4.0, however, still having exact same issues. It would seem that Ionic is not picking up the location of Cordova 6. Is there anything I can do? This app was inline to be released by the end of the week but now I’m getting nervous!