native zlib inflate/deflate for swift3 on iOS
<p>I'd like to be able to inflate/deflate Swift3 Data structs. I found <a href="https://github.com/1024jp/GzipSwift" rel="noreferrer">GzipSwift</a>, but it's not clear how I make that available to my iOS app. The naive things I've tried include:</p>

<ol>
<li><p>Copying the <code>Data+Gzip.swift</code> file into my own project. This then complains about the <code>import zlib</code> at the top of said file. I think that has something to do the with the modulemap files in the zlib directory of the same sources. But I'm not sure what or how to recreate those in my own project.</p></li>
<li><p>Cloned the repository from github, opened XCode and built in (pressed the run button basically). Then tried to add that as a linked library or framework to my own project. I'm pretty sure just selecting the top level directory of the repository is not what I want to do, but I didn't know what else to try.</p></li>
</ol>

<p>I've found some other code out there, but it seems dated and relative to Swift2.</p>