title: How to use a C dylib from a Swift file in a framework
body: <p>I'm looking at starting to use Swift in a framework, which uses <code>libz.dylib</code>, but it looks like there's no way to import it from within Swift. I tried <code>import zlib</code> and <code>import libz</code>, which didn't work. ZLib is already linked to the target.</p>
  
  <p>It seems like the only way to get my Swift code to see the <code>zlib</code> classes is to import the necessary headers in a bridging header, but framework targets can't have a bridging header, so is there a way to use a dylib?</p>