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

bug: #124

Closed
5 of 11 tasks
gasci opened this issue Feb 5, 2024 · 2 comments
Closed
5 of 11 tasks

bug: #124

gasci opened this issue Feb 5, 2024 · 2 comments

Comments

@gasci
Copy link

gasci commented Feb 5, 2024

Plugin(s)

  • Barcode Scanning
  • Face Detection
  • Face Mesh Detection
  • Selfie Segmentation
  • Translation

Version

5.3.0

Platform(s)

  • Android
  • iOS
  • Web

Current behavior

npx cap sync results in this error:

Ignoring ffi-1.16.3 because its extensions are not built. Try: gem pristine ffi --version 1.16.3
        Analyzing dependencies
        
        ――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
        
        ### Command
        
        ```
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/bin/pod install
        ```
        
        ### Report
        
        * What did you do?
        
        * What did you expect to happen?
        
        * What happened instead?
        
        
        ### Stack
        
        ```
        CocoaPods : 1.14.2
        Ruby : ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [arm64-darwin23]
        RubyGems : 3.5.4
        Host : macOS 14.1.2 (23B92)
        Xcode : 15.0.1 (15A507)
        Git : git version 2.42.0
        Ruby lib dir : /opt/homebrew/Cellar/ruby/3.3.0/lib
        Repositories : trunk - CDN - https://cdn.cocoapods.org/
        ```
        
        ### Plugins
        
        ```
        cocoapods-deintegrate : 1.0.5
        cocoapods-plugins     : 1.0.0
        cocoapods-search      : 1.0.1
        cocoapods-trunk       : 1.6.0
        cocoapods-try         : 1.2.0
        ```
        
        ### Podfile
        
        ```ruby
        require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'
        
        platform :ios, '13.0'
        use_frameworks!
        
        # workaround to avoid Xcode caching of Pods that requires
        # Product -> Clean Build Folder after new Cordova plugins installed
        # Requires CocoaPods 1.6 or newer
        install! 'cocoapods', :disable_input_output_paths => true
        
        def capacitor_pods
        pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'
        pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'
        pod 'CapacitorCommunityAppleSignIn', :path => '../../node_modules/@capacitor-community/apple-sign-in'
        pod 'CapacitorCommunityFirebaseAnalytics', :path => '../../node_modules/@capacitor-community/firebase-analytics'
        pod 'CapacitorFirebaseMessaging', :path => '../../node_modules/@capacitor-firebase/messaging'
        pod 'CapacitorMlkitTranslation', :path => '../../node_modules/@capacitor-mlkit/translation'
        pod 'CapacitorApp', :path => '../../node_modules/@capacitor/app'
        pod 'CapacitorBrowser', :path => '../../node_modules/@capacitor/browser'
        pod 'CapacitorCamera', :path => '../../node_modules/@capacitor/camera'
        pod 'CapacitorClipboard', :path => '../../node_modules/@capacitor/clipboard'
        pod 'CapacitorDevice', :path => '../../node_modules/@capacitor/device'
        pod 'CapacitorGeolocation', :path => '../../node_modules/@capacitor/geolocation'
        pod 'CapacitorHaptics', :path => '../../node_modules/@capacitor/haptics'
        pod 'CapacitorKeyboard', :path => '../../node_modules/@capacitor/keyboard'
        pod 'CapacitorPreferences', :path => '../../node_modules/@capacitor/preferences'
        pod 'CapacitorScreenOrientation', :path => '../../node_modules/@capacitor/screen-orientation'
        pod 'CapacitorShare', :path => '../../node_modules/@capacitor/share'
        pod 'CapacitorSplashScreen', :path => '../../node_modules/@capacitor/splash-screen'
        pod 'CapacitorStatusBar', :path => '../../node_modules/@capacitor/status-bar'
        pod 'CapawesomeCapacitorAppUpdate', :path => '../../node_modules/@capawesome/capacitor-app-update'
        pod 'CapgoNativeAudio', :path => '../../node_modules/@capgo/native-audio'
        pod 'CodetrixStudioCapacitorGoogleAuth', :path => '../../node_modules/@codetrix-studio/capacitor-google-auth'
        pod 'CapacitorEmailComposer', :path => '../../node_modules/capacitor-email-composer'
        pod 'CapacitorJitsiMeet', :path => '../../node_modules/capacitor-jitsi-meet'
        pod 'CapacitorNativeSettings', :path => '../../node_modules/capacitor-native-settings'
        pod 'CordovaPlugins', :path => '../capacitor-cordova-ios-plugins'
        end
        
        target 'App' do
        capacitor_pods
        # Add your Pods here
        end
        
        post_install do |installer|
        assertDeploymentTarget(installer)
        end
        ```
        
        ### Error
        
        ```
        LoadError - dlopen(/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/ffi-1.16.3/lib/ffi_c.bundle, 0x0009):
        Library not loaded: /opt/homebrew/opt/ruby/lib/libruby.3.2.dylib
        Referenced from: <B5B93C65-B173-3A7C-B0C2-096CF05D3F20>
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/ffi-1.16.3/lib/ffi_c.bundle
        Reason: tried: '/opt/homebrew/opt/ruby/lib/libruby.3.2.dylib' (no such file),
        '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/ruby/lib/libruby.3.2.dylib' (no such file),
        '/opt/homebrew/opt/ruby/lib/libruby.3.2.dylib' (no such file),
        '/opt/homebrew/Cellar/ruby/3.3.0/lib/libruby.3.2.dylib' (no such file),
        '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/ruby/3.3.0/lib/libruby.3.2.dylib' (no such file),
        '/opt/homebrew/Cellar/ruby/3.3.0/lib/libruby.3.2.dylib' (no such file) -
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/ffi-1.16.3/lib/ffi_c.bundle
        <internal:/opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in `require'
        <internal:/opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in `require'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/ffi-1.16.3/lib/ffi.rb:5:in `rescue in <top (required)>'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/ffi-1.16.3/lib/ffi.rb:2:in `<top (required)>'
        <internal:/opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in `require'
        <internal:/opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in `require'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/ethon-0.16.0/lib/ethon.rb:3:in `<top (required)>'
        <internal:/opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in `require'
        <internal:/opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in `require'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/typhoeus-1.4.0/lib/typhoeus.rb:2:in `<top (required)>'
        <internal:/opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in `require'
        <internal:/opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in `require'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-core-1.14.2/lib/cocoapods-core/cdn_source.rb:440:in
        `download_typhoeus_impl_async'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-core-1.14.2/lib/cocoapods-core/cdn_source.rb:372:in
        `download_and_save_with_retries_async'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-core-1.14.2/lib/cocoapods-core/cdn_source.rb:365:in
        `download_file_async'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-core-1.14.2/lib/cocoapods-core/cdn_source.rb:338:in
        `download_file'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-core-1.14.2/lib/cocoapods-core/cdn_source.rb:284:in
        `ensure_versions_file_loaded'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-core-1.14.2/lib/cocoapods-core/cdn_source.rb:208:in
        `search'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-core-1.14.2/lib/cocoapods-core/source/aggregate.rb:83:in
        `block in search'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-core-1.14.2/lib/cocoapods-core/source/aggregate.rb:83:in
        `select'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-core-1.14.2/lib/cocoapods-core/source/aggregate.rb:83:in
        `search'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/resolver.rb:416:in
        `create_set_from_sources'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/resolver.rb:385:in
        `find_cached_set'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/resolver.rb:360:in
        `specifications_for_dependency'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/resolver.rb:165:in
        `search_for'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/resolver.rb:274:in `block in
        sort_dependencies'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/resolver.rb:267:in `each'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/resolver.rb:267:in `sort_by'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/resolver.rb:267:in `sort_by!'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/resolver.rb:267:in
        `sort_dependencies'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:60:in
        `block in sort_dependencies'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:77:in
        `with_no_such_dependency_error_handling'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:59:in
        `sort_dependencies'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:754:in
        `push_state_for_requirements'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:744:in
        `require_nested_dependencies_for'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:727:in
        `activate_new_spec'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:684:in
        `attempt_to_activate'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:254:in
        `process_topmost_state'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:182:in `resolve'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolver.rb:43:in `resolve'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/resolver.rb:94:in `resolve'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer/analyzer.rb:1082:in
        `block in resolve_dependencies'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/user_interface.rb:64:in
        `section'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer/analyzer.rb:1080:in
        `resolve_dependencies'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer/analyzer.rb:125:in
        `analyze'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer.rb:422:in `analyze'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer.rb:244:in `block in
        resolve_dependencies'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/user_interface.rb:64:in
        `section'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer.rb:243:in
        `resolve_dependencies'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer.rb:162:in `install!'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/command/install.rb:52:in `run'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/command.rb:52:in `run'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/bin/pod:55:in `<top (required)>'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/bin/pod:25:in `load'
        /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/bin/pod:25:in `<main>'
        ```
        
        ――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
        
        [!] Oh no, an error occurred.
        
        Search for existing GitHub issues similar to yours:
        https://github.com/CocoaPods/CocoaPods/search?q=dlopen%28%2Fopt%2Fhomebrew%2FCellar%2Fcocoapods%2F1.14.2%2Flibexec%2Fgems%2Fffi-1.16.3%2Flib%2Fffi_c.bundle%2C+0x0009%29%3A+Library+not+loaded%3A+%2Fopt%2Fhomebrew%2Fopt%2Fruby%2Flib%2Flibruby.3.2.dylib%0A++Referenced+from%3A+%3CB5B93C65-B173-3A7C-B0C2-096CF05D3F20%3E+%2Fopt%2Fhomebrew%2FCellar%2Fcocoapods%2F1.14.2%2Flibexec%2Fgems%2Fffi-1.16.3%2Flib%2Fffi_c.bundle%0A++Reason%3A+tried%3A+%27%2Fopt%2Fhomebrew%2Fopt%2Fruby%2Flib%2Flibruby.3.2.dylib%27+%28no+such+file%29%2C+%27%2FSystem%2FVolumes%2FPreboot%2FCryptexes%2FOS%2Fopt%2Fhomebrew%2Fopt%2Fruby%2Flib%2Flibruby.3.2.dylib%27+%28no+such+file%29%2C+%27%2Fopt%2Fhomebrew%2Fopt%2Fruby%2Flib%2Flibruby.3.2.dylib%27+%28no+such+file%29%2C+%27%2Fopt%2Fhomebrew%2FCellar%2Fruby%2F3.3.0%2Flib%2Flibruby.3.2.dylib%27+%28no+such+file%29%2C+%27%2FSystem%2FVolumes%2FPreboot%2FCryptexes%2FOS%2Fopt%2Fhomebrew%2FCellar%2Fruby%2F3.3.0%2Flib%2Flibruby.3.2.dylib%27+%28no+such+file%29%2C+%27%2Fopt%2Fhomebrew%2FCellar%2Fruby%2F3.3.0%2Flib%2Flibruby.3.2.dylib%27+%28no+such+file%29+-+%2Fopt%2Fhomebrew%2FCellar%2Fcocoapods%2F1.14.2%2Flibexec%2Fgems%2Fffi-1.16.3%2Flib%2Fffi_c.bundle&type=Issues
        
        If none exists, create a ticket, with the template displayed above, on:
        https://github.com/CocoaPods/CocoaPods/issues/new
        
        Be sure to first read the contributing guide for details on how to properly submit a ticket:
        https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
        
        Don't forget to anonymize any private data!
        
        Searching for inspections failed: undefined method `map' for nil
        Looking for related issues on cocoapods/cocoapods...

Expected behavior

It should install the plugin without an error

Reproduction

https://github.com

Steps to reproduce

Create an empty ionic capacitor project with ios and android platforms added. (5.6.0)
Try to install the plugin.

Other information

No response

Capacitor doctor

💊 Capacitor Doctor 💊

Latest Dependencies:

@capacitor/cli: 5.6.0
@capacitor/core: 5.6.0
@capacitor/android: 5.6.0
@capacitor/ios: 5.6.0

Installed Dependencies:

@capacitor/cli: 5.5.1
@capacitor/android: 5.6.0
@capacitor/core: 5.6.0
@capacitor/ios: 5.6.0

[success] iOS looking great! 👌
[success] Android looking great! 👌

Before submitting

  • I have read and followed the bug report guidelines.
  • I have attached links to possibly related issues and discussions.
  • I understand that incomplete issues (e.g. without reproduction) are closed.
Copy link
Contributor

github-actions bot commented Feb 5, 2024

This issue has been labeled as needs: reproduction. This label is added to issues that need a code reproduction.

Please provide a Minimal, Reproducible Example using this template in a public GitHub repository so we can debug the issue.

If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for us to reproduce the issue.

Copy link
Contributor

github-actions bot commented Mar 6, 2024

It looks like there hasn't been a reply in 30 days, so I'm closing this issue.

@github-actions github-actions bot closed this as completed Mar 6, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants