title: CocoaPods could not find compatible versions for pod "Capacitor"
body: <p>When i try &quot;ionic cap sync&quot;  there is a error in ios update</p>
  <p>Error :</p>
  <p>✖ Updating iOS native dependencies with &quot;pod install&quot; (may take several minutes):
  ✖ update ios:
  [error] Error running update: Analyzing dependencies
  [!] CocoaPods could not find compatible versions for pod &quot;Capacitor&quot;:
  In Podfile:
  Capacitor (from <code>../../node_modules/@capacitor/ios</code>)</p>
  <p>Specs satisfying the <code>Capacitor (from </code>../../node_modules/@capacitor/ios<code>)</code> dependency were found, but they required a higher minimum deployment target.</p>
  <p>Podfile :</p>
  <pre><code>platform :ios, '11.0'
  use_frameworks!
  
  # workaround to avoid Xcode caching of Pods that requires
  # Product -&gt; Clean Build Folder after new Cordova plugins installed
  # Requires CocoaPods 1.6 or newer
  install! 'cocoapods', :disable_input_output_paths =&gt; true
  
  def capacitor_pods
    # Automatic Capacitor Pod dependencies, do not delete
    pod 'Capacitor', :path =&gt; '../../node_modules/@capacitor/ios'
    pod 'CapacitorCordova', :path =&gt; '../../node_modules/@capacitor/ios'
    pod 'CapacitorCommunityAdmob', :path =&gt; '../../node_modules/@capacitor-community/admob'
    pod 'CapacitorCommunityFcm', :path =&gt; '../../node_modules/@capacitor-community/fcm'
    pod 'CordovaPlugins', :path =&gt; '../capacitor-cordova-ios-plugins'
    # Do not delete
  end
  
  target 'App' do
    capacitor_pods
    # Add your Pods here
  end
  
  </code></pre>
  <p>ionic info :</p>
  <p>Ionic:</p>
  <p>Ionic CLI                     : 5.4.16 (/usr/local/lib/node_modules/ionic)
  Ionic Framework               : @ionic/angular 5.3.3
  @angular-devkit/build-angular : 0.1000.8
  @angular-devkit/schematics    : 10.0.8
  @angular/cli                  : 10.0.8
  @ionic/angular-toolkit        : 2.3.3</p>
  <p>Capacitor:</p>
  <p>Capacitor CLI   : 2.4.1
  @capacitor/core : 2.4.1</p>
  <p>Cordova:</p>
  <p>Cordova CLI       : not installed
  Cordova Platforms : not available
  Cordova Plugins   : not available</p>
  <p>Utility:</p>
  <p>cordova-res : not installed
  native-run  : not installed</p>
  <p>System:</p>
  <p>NodeJS : v14.17.1 (/usr/local/bin/node)
  npm    : 6.14.13
  OS     : macOS Big Sur</p>
  <p>------<strong>SOLVED</strong>------</p>
  <p>I updated the capacitor and plugins to the latest version.it finally worked without error even though i had to make a few changes to the code(exmple imports so little changes)</p>