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

pod install fails after adding AppLovin and Facebook mediation adapters for Admob #11831

Open
ex6tra opened this issue Mar 27, 2023 · 0 comments

Comments

@ex6tra
Copy link

ex6tra commented Mar 27, 2023

Command

/usr/local/Cellar/cocoapods/1.12.0/libexec/bin/pod install

Report

  • What did you do?
    Added AppLovin and Facebook mediation adapters in Unity, built for iOS and used pod install

  • What did you expect to happen?
    expected pods to install correctly, similar to before adding the mediation adapters

  • What happened instead?
    got ([!] Oh no, an error occurred.)

  • More infos:
    Only works after removing both lines from Podfile:

  pod 'GoogleMobileAdsMediationAppLovin', '11.7.1.0'
  pod 'GoogleMobileAdsMediationFacebook', '6.12.0.1'
  • Tried:
    -adding '~> ' before Applovin and Facebook Adapter versions
    -updating versions on Podfile to match versions of Applovin and Facebook adapters i used. (11.8.2.0 and 6.13.7.0 respectively)

Stack

   CocoaPods : 1.12.0
        Ruby : ruby 3.2.1 (2023-02-08 revision 31819e82c8) [x86_64-darwin22]
    RubyGems : 3.4.6
        Host : macOS 13.2.1 (22D68)
       Xcode : 14.2 (14C18)
         Git : git version 2.37.1 (Apple Git-137.1)
Ruby lib dir : /usr/local/Cellar/ruby/3.2.1/lib
Repositories : cocoapods - git - https://github.com/CocoaPods/Specs @ 89a5eed904ea2b478cf07f6735928266bdbaf01e

               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

source 'https://github.com/CocoaPods/Specs'
source 'https://cdn.cocoapods.org/'

platform :ios, '15.1'

target 'UnityFramework' do
  pod 'GoogleMobileAdsMediationAppLovin', '11.7.1.0'
  pod 'GoogleMobileAdsMediationFacebook', '6.12.0.1'
  pod 'Google-Mobile-Ads-SDK', '~> 7.13'
end
target 'Unity-iPhone' do
end
use_frameworks! :linkage => :static


post_install do |installer|
installer.pods_project.targets.each do |target|
  target.build_configurations.each do |config|
    config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.1'
    config.build_settings['ENABLE_BITCODE'] = 'NO'
  end
 end
end

Error

LoadError - linked to incompatible /Users/mac/.rbenv/versions/3.2.1/lib/libruby.3.2.dylib - /Users/mac/.gem/ruby/3.2.0/gems/ffi-1.15.5/lib/ffi_c.bundle
<internal:/usr/local/Cellar/ruby/3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:88:in `require'
<internal:/usr/local/Cellar/ruby/3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:88:in `require'
/Users/mac/.gem/ruby/3.2.0/gems/ffi-1.15.5/lib/ffi.rb:5:in `rescue in <top (required)>'
/Users/mac/.gem/ruby/3.2.0/gems/ffi-1.15.5/lib/ffi.rb:2:in `<top (required)>'
<internal:/usr/local/Cellar/ruby/3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:88:in `require'
<internal:/usr/local/Cellar/ruby/3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:88:in `require'
/Users/mac/.gem/ruby/3.2.0/gems/ethon-0.16.0/lib/ethon.rb:3:in `<top (required)>'
<internal:/usr/local/Cellar/ruby/3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:88:in `require'
<internal:/usr/local/Cellar/ruby/3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:88:in `require'
/Users/mac/.gem/ruby/3.2.0/gems/typhoeus-1.4.0/lib/typhoeus.rb:2:in `<top (required)>'
<internal:/usr/local/Cellar/ruby/3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:88:in `require'
<internal:/usr/local/Cellar/ruby/3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:88:in `require'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/cdn_source.rb:440:in `download_typhoeus_impl_async'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/cdn_source.rb:372:in `download_and_save_with_retries_async'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/cdn_source.rb:365:in `download_file_async'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/cdn_source.rb:338:in `download_file'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/cdn_source.rb:284:in `ensure_versions_file_loaded'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/cdn_source.rb:208:in `search'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/source/aggregate.rb:83:in `block in search'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/source/aggregate.rb:83:in `select'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-core-1.12.0/lib/cocoapods-core/source/aggregate.rb:83:in `search'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:416:in `create_set_from_sources'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:385:in `find_cached_set'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:360:in `specifications_for_dependency'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:165:in `search_for'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:274:in `block in sort_dependencies'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:267:in `each'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:267:in `sort_by'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:267:in `sort_by!'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:267:in `sort_dependencies'
/Users/mac/.gem/ruby/3.2.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:60:in `block in sort_dependencies'
/Users/mac/.gem/ruby/3.2.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:77:in `with_no_such_dependency_error_handling'
/Users/mac/.gem/ruby/3.2.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:59:in `sort_dependencies'
/Users/mac/.gem/ruby/3.2.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:754:in `push_state_for_requirements'
/Users/mac/.gem/ruby/3.2.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:288:in `push_initial_state'
/Users/mac/.gem/ruby/3.2.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:210:in `start_resolution'
/Users/mac/.gem/ruby/3.2.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:168:in `resolve'
/Users/mac/.gem/ruby/3.2.0/gems/molinillo-0.8.0/lib/molinillo/resolver.rb:43:in `resolve'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/resolver.rb:94:in `resolve'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/installer/analyzer.rb:1082:in `block in resolve_dependencies'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/user_interface.rb:64:in `section'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/installer/analyzer.rb:1080:in `resolve_dependencies'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/installer/analyzer.rb:125:in `analyze'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/installer.rb:422:in `analyze'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/installer.rb:244:in `block in resolve_dependencies'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/user_interface.rb:64:in `section'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/installer.rb:243:in `resolve_dependencies'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/installer.rb:162:in `install!'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/command/install.rb:52:in `run'
/Users/mac/.gem/ruby/3.2.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/lib/cocoapods/command.rb:52:in `run'
/Users/mac/.gem/ruby/3.2.0/gems/cocoapods-1.12.0/bin/pod:55:in `<top (required)>'
/usr/local/Cellar/cocoapods/1.12.0/libexec/bin/pod:25:in `load'
/usr/local/Cellar/cocoapods/1.12.0/libexec/bin/pod:25:in `<main>'
@ex6tra ex6tra changed the title pod install fails after adding AppLovin and Facebook and mediation adapters for Admob pod install fails after adding AppLovin and Facebook mediation adapters for Admob Mar 27, 2023
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

1 participant