You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "zarko-tg (via GitHub)" <gi...@apache.org> on 2023/11/27 08:34:26 UTC

[I] Cannot build iOS Ionic Capacitor project [cordova-plugin-inappbrowser]

zarko-tg opened a new issue, #1039:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/1039

   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
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot build iOS Ionic Capacitor project [cordova-plugin-inappbrowser]

Posted by "breautek (via GitHub)" <gi...@apache.org>.
breautek commented on issue #1039:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/1039#issuecomment-1828053086

   Does it build with a vanilla cordova-ios?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot build iOS Ionic Capacitor project [cordova-plugin-inappbrowser]

Posted by "zarko-tg (via GitHub)" <gi...@apache.org>.
zarko-tg commented on issue #1039:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/1039#issuecomment-1854851182

   FYI, it looks like this issue will be addressed in the next Capacitor version:
   https://github.com/ionic-team/capacitor/pull/7096


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot build iOS Ionic Capacitor project [cordova-plugin-inappbrowser]

Posted by "gabides (via GitHub)" <gi...@apache.org>.
gabides commented on issue #1039:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/1039#issuecomment-1838822949

   I am facing the same issue and it looks like it is coming from this PR https://github.com/apache/cordova-plugin-inappbrowser/pull/1031/files#diff-3a6f80dde729cc2827f9bb45fed1ba49af846f71424cc0567c754309ea1798dcR22
   
   when reverting this change, the error stops and the build succeeds on Capacitor.
   @jcesarmobile any chance that we can add a similar condition which will skip this import on a capacitor app?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot build iOS Ionic Capacitor project [cordova-plugin-inappbrowser]

Posted by "zarko-tg (via GitHub)" <gi...@apache.org>.
zarko-tg commented on issue #1039:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/1039#issuecomment-1829697904

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot build iOS Ionic Capacitor project [cordova-plugin-inappbrowser]

Posted by "breautek (via GitHub)" <gi...@apache.org>.
breautek closed issue #1039: Cannot build iOS Ionic Capacitor project
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/1039


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] Cannot build iOS Ionic Capacitor project [cordova-plugin-inappbrowser]

Posted by "breautek (via GitHub)" <gi...@apache.org>.
breautek commented on issue #1039:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/1039#issuecomment-1830368815

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org