IOS10.3.1 - File <Cordova / CDVViewController.h> not found - after update
I ran ionic app successfully, but when I updated to iOS10.3.1 and Xcode 8.3.1, whenever I create a new project and build it I get the error
<Cordova/CDVViewController.h> file not found
How to fix it. How to upgrade 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
+3
source to share
3 answers
in Xcode 8.3.2 this is resolved by running:
ionic resources
ionic platform remove ios
ionic platform add ios
src: https://forum.ionicframework.com/t/cdvviewcontroller-h-file-not-found/89548
+5
source to share
I had the same problem but only when archiving. I researched a lot but none of the solutions worked. I didn't want to remove the platform and add it again. The only thing that worked for me was:
- Clean up your project
- Create your project
- Archive of your project. The archive should now be successful.
0
source to share