Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build iOS Ionic Capacitor project #1039

Closed
1 task
zarko-tg opened this issue Nov 27, 2023 · 5 comments
Closed
1 task

Cannot build iOS Ionic Capacitor project #1039

zarko-tg opened this issue Nov 27, 2023 · 5 comments

Comments

@zarko-tg
Copy link

Building for iOS using cordova-plugin-inappbrowser 6.0.0 fails.

...
/Users/user/project/ios/capacitor-cordova-ios-plugins/sources/CordovaPluginInappbrowser/CDVWKInAppBrowser.m:22:9: fatal error: 'Cordova/CDVWebViewProcessPoolFactory.h' file not found
#import <Cordova/CDVWebViewProcessPoolFactory.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/user/project/ios/capacitor-cordova-ios-plugins/sources/CordovaPluginInappbrowser/CDVWKInAppBrowser.m:22:9: note: did not find header 'CDVWebViewProcessPoolFactory.h' in
      framework 'Cordova' (loaded from
      '/Users/user/Library/Developer/Xcode/DerivedData/App-dhqnmyemtxyfryeexvhkkexwfcbw/Build/Intermediates.noindex/ArchiveIntermediates/App/BuildProductsPath/Release-iphoneos/CapacitorCordova')
1 error generated.
...
** ARCHIVE FAILED **

Ionic:

Ionic CLI : 7.1.5
Ionic Framework : @ionic/angular 6.7.1
@angular-devkit/build-angular : 17.0.3
@angular-devkit/schematics : 17.0.3
@angular/cli : 17.0.3
@ionic/angular-toolkit : 10.0.0

Capacitor:

Capacitor CLI : 5.5.1
@capacitor/android : 5.5.1
@capacitor/core : 5.5.1
@capacitor/ios : 5.5.1

Utility:

cordova-res : not installed globally
native-run (update available: 2.0.0) : 1.7.4

System:

NodeJS : v20.10.0
npm : 10.2.3
OS : macOS Unknown

Checklist

  • [x ] I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • [ x] I included all the necessary information above
@breautek
Copy link
Contributor

Does it build with a vanilla cordova-ios?

@zarko-tg
Copy link
Author

@breautek I did a quick test, it seems fine on a vanilla project, no iOS build failure.

@breautek
Copy link
Contributor

Thanks, then it seems the issue is within the capacitor/ionic framework. I don't think there is anything actionable by Cordova.

@breautek breautek closed this as not planned Won't fix, can't repro, duplicate, stale Nov 28, 2023
@gabides

This comment was marked as abuse.

@zarko-tg
Copy link
Author

FYI, it looks like this issue will be addressed in the next Capacitor version:
ionic-team/capacitor#7096

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants