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


Another solution didn't work for me. Doing this:

cordova plugin remove cordova-plugin-console

      



The cordova-plugin-console functionality has been ported to the core in cordova-ios 5.5.0, including now redundancy.

+1


source


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:

  1. Clean up your project
  2. Create your project
  3. Archive of your project. The archive should now be successful.
0


source







All Articles