title: Swift Framework with libxml
body: <p>I have Swift Framework project that uses the KissXML Objective-C library. KissXML internally uses libxml. </p>
  
  <p>When I build the xcode project (Xcode 6 - beta 5), I get this error:</p>
  
  <p><code>error: &lt;unknown&gt;:0: error: '/SwiftFramework/SwiftFramework/KissXML/DDXMLNode.h:2: include of non-modular header inside framework module SwiftFramework.DDXMLNode</code></p>
  
  <p>I have seen this <a href="https://stackoverflow.com/questions/24103169/swift-compiler-error-non-modular-header-inside-framework-module">answer</a> that discusses making the relevant header files public. I have done that but I am not sure how to address the case of this header that is imported in the DDXMLNode.h and that is not explicitly part of my project:</p>
  
  <p><code>#import &lt;libxml/tree.h&gt;</code></p>
  
  <p>Any suggestions on how to handle this?</p>
  
  <p><strong>Note:</strong> I have used KissXML on a Objective-C only project and it worked fine (Xcode 5).</p>