I was running an ionic app successfully, but when i upgraded to iOS10.3.1 and Xcode 8.3.1 then whenever i create a new project and build it i get the error
<Cordova/CDVViewController.h> file not found
How to fix this. How to downgrade to lower versions.
Cordova CLI: 6.5.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
iOS : 4.3.1
in Xcode 8.3.2 this solved by running:
ionic resources
ionic platform remove ios
ionic platform add ios
src: https://forum.ionicframework.com/t/cdvviewcontroller-h-file-not-found/89548
The other solution didn't work for me. Running this did:
cordova plugin remove cordova-plugin-console
The cordova-plugin-console functionality has been moved to the core in cordova-ios 5.5.0, and including it is now a redundancy.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With