UserError: fatal error: 'Cordova/CDVWebViewProcessPoolFactory.h' file not found

Hi:

I’m getting the error in the title when compiling for iOS (Android is fine):
UserError: fatal error: ‘Cordova/CDVWebViewProcessPoolFactory.h’ file not found

I use ios 6.1.1 engine on config.xml

Some more stuff on my config.xml

<plugin name="@ahovakimyan/cordova-plugin-wkwebviewxhrfix" />
<platform name="ios">
 <feature name="CDVWebViewEngine">
        <param name="ios-package" value="CDVWebViewEngine" />
 </feature>
</platform>
	 <feature name="LocalStorage">
        <param name="ios-package" value="CDVLocalStorage" />
    </feature>
	 <feature name="WKWebViewXHRFix">
        <param name="ios-package" value="WKWebViewXHRFix" />
        <param name="onload" value="true" />
    </feature>

Try removing the CDVWebViewEngine. This shouldn’t be necessary with a properly working plugin.

Tried. Same result :frowning:

The engine you’re using is nearly 4 years old. I suggest trying with a later version of the engine. 7.1.1 is the latest. I suspect that plugin expects a 7.x engine.

¡That works!

Thanks a bunch