title: Flutter - Specs satisfying the `GoogleMLKit/TextRecognition` dependency were found, but they required a higher minimum deployment target
body: <p>I have a flutter app</p>
  <p>I added <code>pod 'GoogleMLKit/TextRecognition'</code> to my pod file, and did <code>pod install</code></p>
  <p>I get the error
  <code>Specs satisfying the </code>GoogleMLKit/TextRecognition<code> dependency were found, but they required a higher minimum deployment target.</code></p>
  <p>I would like to know:</p>
  <ol>
  <li>What is the <code>minimum deployment target</code>?</li>
  <li>How do I set it?</li>
  </ol>
  <p>EDIT:</p>
  <p>According to Dong Chen comment, here is my Podfile:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code># 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' =&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 "#{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
  
  pod 'GoogleMLKit/TextRecognition'
  post_install do |installer|
    installer.pods_project.build_configurations.each do |config|
      # Can be removed when moving to cocoapods 1.10
      config.build_settings['CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER'] = 'NO'
    end
    installer.pods_project.targets.each do |target|
      flutter_additional_ios_build_settings(target)
  
      target.build_configurations.each do |config|
        # Inherit the deployment target defined in this Podfile instead, e.g. platform :ios, '11.0' at the top of this file
        config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
      end
    end
  end</code></pre>
  </div>
  </div>
  </p>