title: Using Cocoapods libraries in Flutter iOS platform specific code
body: <p>I'm trying to use a Cocoapods library (for an external SDK) but I haven't found any documentation to do it. I've already integrated it in the Android part by just adding a line to the <code>Gradle</code> file.</p>
  
  <p>Simply, I would like to create (or maybe find) a <code>podfile</code> where I could add my dependency and use it in <code>AppDelegate.swift</code> file.</p>
  
  <p>What I tried so far is run <code>pod init</code> in <code>ios/</code> folder and then add my pod (<code>pod 'Charts'</code> for example) and run <code>pod install</code> but it says:</p>
  
  <blockquote>
    <p>[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target <code>Runner</code> to <code>Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig</code> or include the <code>Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig</code> in your build configuration (<code>Flutter/Release.xcconfig</code>).</p>
  </blockquote>
  
  <p>And then when I try to build on Xcode, it gives me this error:</p>
  
  <blockquote>
    <p>error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.</p>
  </blockquote>
  
  <p>I think I'm doing it the right way and I've found nothing to help me on Flutter.io documentation.</p>
  
  <p>Thanks in advance for your help!</p>