title: CocoaPods could not find compatible versions for pod "FBSDKLoginKit"
body: <p>I'm making use of <code>flutter_login_facebook 1.0.1</code> plugin to enable logging into my app using Facebook.</p>
  <p>I'm getting the below error when trying to set up Facebook login on an iOS device.</p>
  <pre><code> pod install
      WARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
      Consider adding the following to ~/.profile:
  
      export LANG=en_US.UTF-8
      
  Analyzing dependencies
  Pre-downloading: `FirebaseFirestore` from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `8.0.0`
  cloud_firestore: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
  firebase_auth: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
  firebase_core: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
  [!] CocoaPods could not find compatible versions for pod &quot;FBSDKLoginKit&quot;:
    In Podfile:
      flutter_facebook_auth (from `.symlinks/plugins/flutter_facebook_auth/ios`) was resolved to 2.0.0, which depends on
        FBSDKLoginKit (~&gt; 11.0.0)
  
      flutter_login_facebook (from `.symlinks/plugins/flutter_login_facebook/ios`) was resolved to 0.5.0, which depends on
        FBSDKLoginKit (~&gt; 9.1)
  </code></pre>
  <p>I have tried the below steps that I could find from other posts on stackoverflow but no luck with it:</p>
  <ol>
  <li>Deleted <code>Pods</code> folder, <code>ios/Podfile</code> file and <code>ios/Podfile.lock</code> file.</li>
  <li>Executed <code>flutter clean</code> command.</li>
  <li>Executed <code>flutter pub get</code> command.</li>
  <li>Tried updating using the following commands <code>pod update FBSDKCoreKit</code>, <code>pod update FBSDKLoginKit</code> and <code>pod repo update</code>.</li>
  <li>Excuted <code>pod install</code></li>
  </ol>
  <p>Below are the contents of my <code>Podfile</code>:</p>
  <pre><code># Uncomment this line to define a global platform for your project
  platform :ios, '11.0'
  
  # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
  ENV['COCOAPODS_DISABLE_STATS'] = 'true'
  
  project 'Runner', {
    'Debug' =&gt; :debug,
    'Profile' =&gt; :release,
    'Release' =&gt; :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 &quot;#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first&quot;
    end
  
    File.foreach(generated_xcode_build_settings_path) do |line|
      matches = line.match(/FLUTTER_ROOT\=(.*)/)
      return matches[1].strip if matches
    end
    raise &quot;FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get&quot;
  end
  
  require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
  
  flutter_ios_podfile_setup
  
  target 'Runner' do
    pod 'FirebaseFirestore', :git =&gt; 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag =&gt; '8.0.0'
    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
  </code></pre>
  <p>Please find below details about my flutter and dart version:</p>
  <pre><code>Flutter 2.2.2 • channel stable • https://github.com/flutter/flutter.git
  Framework • revision d79295af24 (4 weeks ago) • 2021-06-11 08:56:01 -0700
  Engine • revision 91c9fc8fe0
  Tools • Dart 2.13.3
  </code></pre>
  <p>Could anyone please help me in getting this issue fixed. Thanks for your help in advance.</p>