apache / cordova-plugin-inappbrowser

Apache Cordova InAppBrowser Plugin
https://cordova.apache.org/
Apache License 2.0
1.11k stars 2.14k forks source link

6.0.0 Update throws error while archiving iOS project: "'Cordova/CDVWebViewProcessPoolFactory.h' file not found" #1040

Closed TobiasHesselinkTopicus closed 5 months ago

TobiasHesselinkTopicus commented 5 months ago

Bug Report

Problem

What is expected to happen?

A successfully build archive within Xcode or Ionic Appflow with the newest 6.0.0 cordova-inappbrowser package.

What does actually happen?

Unable to create an archive within Xcode or Appflow. The following error occurred:

ios/capacitor-cordova-ios-plugins/sources/CordovaPluginInappbrowser/CDVWKInAppBrowser.m:22:9: 'Cordova/CDVWebViewProcessPoolFactory.h' file not found
** ARCHIVE FAILED **

Screenshot of the error in Xcode

Information

Updated from 5.0.0 to 6.0.0. Using Ionic and Angular. As the version is recently released, I could not find much info on the internet about this issue. Although I saw someone else experiencing the exact same issue on stackoverflow: https://stackoverflow.com/questions/77541592/capacitor-browser-send-callback-data-to-ionic-application

Command or Code

Install the 6.0.0 package. Sync the pods by running ionic cap sync ios. Then open Xcode and start a new Archive build.

Environment, Platform, Device

MacOS. Build stack

Version information

See above screenshot from build stack.

Checklist

breautek commented 5 months ago

Duplicate: https://github.com/apache/cordova-plugin-inappbrowser/issues/1039