I have read this solution, but I still cannot get the difference between a bridging header and an umbrella file. I get the same error when I'm using Objective-C library. StackOverflow question
However, I just need to use this .swift code from github. Gzip-NSdata
But I get the same error: using bridging headers with framework targets is unsupported.
I need to use it in a framework I'm developing(not an application). But I don't know where I should add objective-c header. I follow the instruction to add an objective-c bridging header under build settings and add "#import " to this file. I also add libz.dylib library to my linked framework and libraries and with status "required". I don't find any "umbrella file" in my Xcode, so I cannot solve this problem. Can any one help me? Thank you very much. Sorry for I'm very new to iOS development.