title: How to import external iOS framework in flutter plugin?
body: <p>I'm doing a <strong>flutter plugin</strong> for stream video by using <strong>RTSP protocol</strong>. I had no problem develop it for Android, but in iOS things are more complex. I have to use an <strong>external library (<a href="https://github.com/libobjc/SGPlayer" rel="noreferrer">SGPlayer</a>)</strong> for getting the player work. I also downloaded the demo that uses this library and <strong>seems to work</strong>. This library <strong>is NOT on Cocoapods</strong> and I need to import it directly into the plugin project from my file system. the downloaded and compiled file structure of the plugin that I would like to use looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/eahpe.png" rel="noreferrer"><img src="https://i.stack.imgur.com/eahpe.png" alt="External library file structure"></a></p>
  
  <p>My problem is <strong>adding the ".framework" extension file correctly to the iOS project</strong> in a way that I can use it to develop the flutter plugin (iOS part).</p>
  
  <p><strong>UPDATE:</strong>
  I built the project with the framework by using instructions at this link: <a href="https://github.com/flutter/flutter/issues/17978" rel="noreferrer">https://github.com/flutter/flutter/issues/17978</a></p>
  
  <p>The problem now is that while compiling the framework it change the umbrella header because, I think, it's not using the framework module.modulemap but another one. The result is that is importing just some header and implementations, and not all.</p>