'Cordova/CDVUIWebViewDelegate.h' file not found
Asked Answered
D

1

11

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.

Dalliance answered 5/12, 2020 at 17:36 Comment(3)
Looks like you have something depending on UIWebView which is deprecated and will not be accepted by Apple when publishing to the App store. I'd make sure cordova-ios is up to date (should be version 6), and if you're using cordova-plugin-inappbrowser, make sure that's also up to date.Wintertide
I'm also facing the same issue while running cordova build ios, I tried upgrading the cordova-plugin-inappbrowser but and cordova-ios but no luck. Please share the solution if you were able to solve the issue.Acicular
Same problem here. I tried to update the plugin but nothing. Cordova CLI 10.0.0 and cordova-ios 6.2.0Triplet
F
4

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
Fraser answered 31/8, 2021 at 8:44 Comment(2)
I had to delete this plugin completely in order to continue..Renny
It didn't solve my problem. I have no idea what to doLilithe

© 2022 - 2024 — McMap. All rights reserved.