'Cordova/CDVUIWebViewDelegate.h' file not found

Viewed 3757

I just update cordova to version 10.0.0 and mi xcode is on version 11.3.1 now when I try to build my app I'm getting this error.

'Cordova/CDVUIWebViewDelegate.h' file not found

I don't know how to set the path to this file or fix this error. Could anyone please help me?

Thanks in advance.

1 Answers

Try this in console inside folder with your project:

rm -rf platforms plugins package-lock.json node_modules
npm install
cordova prepare

I had linking problems in Xcode and fix it only by this way (sick!). Someones recommends this way:

npm install -g cordova
cordova platform remove ios
cordova platform add ios
Related