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

NoMethodError - undefined method `each' for nil:NilClass #9239

Closed
dgobaud opened this issue Oct 10, 2019 · 12 comments
Closed

NoMethodError - undefined method `each' for nil:NilClass #9239

dgobaud opened this issue Oct 10, 2019 · 12 comments

Comments

@dgobaud
Copy link

dgobaud commented Oct 10, 2019

same error in 1.7.1, 1.8.0, and 1.8.3

NoMethodError - undefined method `each' for nil:NilClass
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/gems/cocoapods-1.8.0/lib/cocoapods/installer/analyzer/locking_dependency_analyzer.rb:96:in `block in add_to_dependency_graph'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/gems/cocoapods-1.8.0/lib/cocoapods/installer/analyzer/locking_dependency_analyzer.rb:94:in `each'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/gems/cocoapods-1.8.0/lib/cocoapods/installer/analyzer/locking_dependency_analyzer.rb:94:in `add_to_dependency_graph'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/gems/cocoapods-1.8.0/lib/cocoapods/installer/analyzer/locking_dependency_analyzer.rb:45:in `block in generate_version_locking_dependencies'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/gems/cocoapods-1.8.0/lib/cocoapods/installer/analyzer/locking_dependency_analyzer.rb:44:in `each'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/gems/cocoapods-1.8.0/lib/cocoapods/installer/analyzer/locking_dependency_analyzer.rb:44:in `generate_version_locking_dependencies'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/gems/cocoapods-1.8.0/lib/cocoapods/installer/analyzer.rb:849:in `generate_version_locking_dependencies'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/gems/cocoapods-1.8.0/lib/cocoapods/installer/analyzer.rb:123:in `analyze'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/gems/cocoapods-1.8.0/lib/cocoapods/installer.rb:410:in `analyze'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/gems/cocoapods-1.8.0/lib/cocoapods/installer.rb:234:in `block in resolve_dependencies'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/gems/cocoapods-1.8.0/lib/cocoapods/user_interface.rb:64:in `section'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/gems/cocoapods-1.8.0/lib/cocoapods/installer.rb:233:in `resolve_dependencies'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/gems/cocoapods-1.8.0/lib/cocoapods/installer.rb:156:in `install!'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/gems/cocoapods-1.8.0/lib/cocoapods/command/install.rb:52:in `run'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/gems/cocoapods-1.8.0/lib/cocoapods/command.rb:52:in `run'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/gems/cocoapods-1.8.0/bin/pod:55:in `<top (required)>'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/bin/pod:23:in `load'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/bin/pod:23:in `<main>'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `eval'
/Users/davidgobaud/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `<main>'
@dnkoutso
Copy link
Contributor

There is insufficient information for us to diagnose this issue. Please provide a sample app and steps to reproduce.

Going to close preemptively until a sample app or steps to reproduce are included since we are getting a high volume of issues.

@bhandaribhumin
Copy link

@dnkoutso same issue I'm facing

project-103524:ios bhumin3imac$ pod install

Analyzing dependencies

――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

Command

/Users/bhumin3imac/.gem/bin/pod install

Report

  • What did you do?

  • What did you expect to happen?

  • What happened instead?

Stack

   CocoaPods : 1.8.4
        Ruby : ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]
    RubyGems : 2.5.2.3
        Host : Mac OS X 10.14.6 (18G1012)
       Xcode : 11.2 (11B52)
         Git : git version 2.21.0 (Apple Git-122.2)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib
Repositories : 

Plugins

cocoapods-deintegrate : 1.0.4
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.1.0
cocoapods-trunk       : 1.4.1
cocoapods-try         : 1.1.0

Podfile

# DO NOT MODIFY -- auto-generated by Apache Cordova

platform :ios, '11.0'

target '@FirebaseApp' do
	project '@FirebaseApp.xcodeproj'
	pod 'FirebaseMessaging', '~> 2.0.0'
end

Error

NoMethodError - undefined method `[]' for nil:NilClass
/Library/Ruby/Gems/2.3.0/gems/xcodeproj-1.13.0/lib/xcodeproj/project.rb:265:in `new_from_plist'
/Library/Ruby/Gems/2.3.0/gems/xcodeproj-1.13.0/lib/xcodeproj/project.rb:212:in `initialize_from_file'
/Library/Ruby/Gems/2.3.0/gems/xcodeproj-1.13.0/lib/xcodeproj/project.rb:112:in `open'
/Users/bhumin3imac/.gem/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:1098:in `block (2 levels) in inspect_targets_to_integrate'
/Users/bhumin3imac/.gem/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:1097:in `each'
/Users/bhumin3imac/.gem/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:1097:in `block in inspect_targets_to_integrate'
/Users/bhumin3imac/.gem/gems/cocoapods-1.8.4/lib/cocoapods/user_interface.rb:64:in `section'
/Users/bhumin3imac/.gem/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:1092:in `inspect_targets_to_integrate'
/Users/bhumin3imac/.gem/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:106:in `analyze'
/Users/bhumin3imac/.gem/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:410:in `analyze'
/Users/bhumin3imac/.gem/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:234:in `block in resolve_dependencies'
/Users/bhumin3imac/.gem/gems/cocoapods-1.8.4/lib/cocoapods/user_interface.rb:64:in `section'
/Users/bhumin3imac/.gem/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:233:in `resolve_dependencies'
/Users/bhumin3imac/.gem/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:156:in `install!'
/Users/bhumin3imac/.gem/gems/cocoapods-1.8.4/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.3.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Users/bhumin3imac/.gem/gems/cocoapods-1.8.4/lib/cocoapods/command.rb:52:in `run'
/Users/bhumin3imac/.gem/gems/cocoapods-1.8.4/bin/pod:55:in `<top (required)>'
/Users/bhumin3imac/.gem/bin/pod:22:in `load'
/Users/bhumin3imac/.gem/bin/pod:22:in `<main>'

――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

[!] Oh no, an error occurred.

Search for existing GitHub issues similar to yours:
https://github.com/CocoaPods/CocoaPods/search?q=undefined+method+%60%5B%5D%27+for+nil%3ANilClass&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!

Looking for related issues on cocoapods/cocoapods...

and 206 more at:
https://github.com/cocoapods/cocoapods/search?q=undefined%20method%20%60%5B%5D%27%20for%20nil&type=Issues&utf8=✓

@cchamb-gh
Copy link

In case anybody else gets this error and is routed here:

You will see this error if you've had a bad merge on your Podfile.lock. Specifically, when I saw the issue, it was because there was a trailing colon ":" on a pod line like so:

...
  - SomePod (1.0.0):
    - SomeDependency
  - TheProblemLine (0.0.1):
  - YetAnotherPod (2.0.0):
    - MoreDepdencies
...

You can delete that errant line and then re-run pod install to recreate a working Podfile.lock.

@sarykemmoun
Copy link

In case anybody else gets this error and is routed here:

You will see this error if you've had a bad merge on your Podfile.lock. Specifically, when I saw the issue, it was because there was a trailing colon ":" on a pod line like so:

...
  - SomePod (1.0.0):
    - SomeDependency
  - TheProblemLine (0.0.1):
  - YetAnotherPod (2.0.0):
    - MoreDepdencies
...

You can delete that errant line and then re-run pod install to recreate a working Podfile.lock.

@cchamb-gh Thanks!
You saved my day!

@souzasmatheus
Copy link

@cchamb-gh 's solution really worked perfectly for me. I deleted the unnecessary semi-colon (which is used to indicate that the following packages, which are normally indented, are dependencies) and ran pod install. The dependency was added automatic and everything worked.

@kovkev
Copy link

kovkev commented Sep 26, 2020

I deleted Podfile.lock and ran pod install and it didn't solve it for me.

@w819314930
Copy link

flutter clean
flutter pub get
pod install
problem solving

@rafaelperozin
Copy link

rafaelperozin commented Dec 7, 2020

The @cchamb-gh is right.
You only need to remove the semi-colon from items without children.

For example: On this case, you only need to remove the semi-colon from TheProblemLine (0.0.1).

...
  - SomePod (1.0.0):
    - SomeDependency
  - TheProblemLine (0.0.1):
  - YetAnotherPod (2.0.0):
    - MoreDepdencies
...

@minhdq2809
Copy link

minhdq2809 commented Jul 6, 2021

In case anybody else gets this error and is routed here:

You will see this error if you've had a bad merge on your Podfile.lock. Specifically, when I saw the issue, it was because there was a trailing colon ":" on a pod line like so:

...
  - SomePod (1.0.0):
    - SomeDependency
  - TheProblemLine (0.0.1):
  - YetAnotherPod (2.0.0):
    - MoreDepdencies
...

You can delete that errant line and then re-run pod install to recreate a working Podfile.lock.

Tks. it solve my problem

@michaelkamau
Copy link

Deleting the ios/Podfile.lock and running npx pod-install solved the issue for me.

@Eobsv
Copy link

Eobsv commented Dec 11, 2021

@up I found problem. It was typo in Podfile. Things started working.

Hello

――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

Command

/usr/local/bin/pod install

Report

  • What did you do?
    I ran 'pod install'
  • What did you expect to happen?
    I wanted to get my pods included into my flutter project during the build, and then run the application on simulator.
  • What happened instead?
    I got error attached below

Stack

   CocoaPods : 1.11.2
        Ruby : ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.x86_64-darwin21]
    RubyGems : 3.0.3.1
        Host : macOS 12.0.1 (21A559)
       Xcode : 13.0 (13A233)
         Git : git version 2.30.1 (Apple Git-130)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/

Plugins

cocoapods-deintegrate : 1.0.4
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-trunk       : 1.5.0
cocoapods-try         : 1.2.0

Podfile

# Uncomment this line to define a global platform for your project
platform :ios, '10.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :rease,
  'Release' => :release,
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
  unless File.exist?(generated_xcode_build_settings_path)
    raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
  end

  File.foreach(generated_xcode_build_settings_path) do |line|
    matches = line.match(/FLUTTER_ROOT\=(.*)/)
    return matches[1].strip if matches
  end
  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
  end
end

Error

NoMethodError - undefined method `each' for nil:NilClass
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/target/pod_target.rb:846:in `_add_recursive_dependent_targets'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/target/pod_target.rb:833:in `block in recursive_dependent_targets'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/target/pod_target.rb:832:in `map'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/target/pod_target.rb:832:in `recursive_dependent_targets'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/xcode/target_validator.rb:88:in `each'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/xcode/target_validator.rb:88:in `flat_map'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/xcode/target_validator.rb:88:in `block (2 levels) in verify_no_static_framework_transitive_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/xcode/target_validator.rb:74:in `each_key'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/xcode/target_validator.rb:74:in `block in verify_no_static_framework_transitive_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/xcode/target_validator.rb:73:in `each'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/xcode/target_validator.rb:73:in `verify_no_static_framework_transitive_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/xcode/target_validator.rb:38:in `validate!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer.rb:597:in `validate_targets'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer.rb:163:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>’

Error output from CocoaPods:
↳
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
    Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
    Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --ve

After updating MacOS once moreI tried solution from @w819314930, I couldn’t try solution from @cchamb-gh because I do not have Podfile.lock file. What more can I do? I’d be thankful for any suggestions.

@manjeetcars24
Copy link

I deleted Podfile.lock and ran pod install and it didn't solve it for me.

This helped. Seems to be an issue with mixed info within Podfile.lock

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