Comments (7)
I personally don't have any experience making such frameworks on Xcode.
However, as long as I read the page in stack overflow, I suppose you need to create your umbrella file manually.
An umbrella file should be just a normal header file in which all public import, include etc, are written.
from gzipswift.
But what is umbrella file? Where should I find it in Xcode? I only know how to add "objective-c bridging header" in build setting. I have read this article in Apple developer website: https://developer.apple.com/library/ios/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html
However I only get the concept in "Importing Code from Within the Same App Target". The second part "Importing Code from Within the Same Framework Target" makes me confused. It said "In your umbrella header file, import every..." But apple didn't tell me where it is? where I should set this? If someone knows, please give me some hint, thanks.
from gzipswift.
As I mentioned, an umbrella file is just a normal header file. Just add a normal objective-C header file to your project.
Actually, this issue tracker is not for all Xcode or programming issues but just for the NSData+GZIP library. You'd better to ask it somewhere more suitable. Or to google words like "umbrella file", Xcode, framework etc.
from gzipswift.
Even if include #include <zlib.h>
in umbrella header still cannot work in framework. Because framework cannot include non-modular header, Xcode will show this message. I have a similar question here:CocoaPods/CocoaPods#3666
from gzipswift.
Also having this issue, have you found a resolution?
from gzipswift.
I'm not sure if this helps, but this is how I use this extension in my framework:
The other things are the same.
Link binary with libz.tbd
and set Swift compiler import path correctly.
from gzipswift.
Now you can try swift3 branch that supports framework.
from gzipswift.
Related Issues (20)
- GzipSwift + JSONSerialization causes an EXC_BAD_ACCESS error in Xcode 10.2 HOT 1
- Unsaferawbufferpointer is not convertible to Unsafepointer HOT 2
- How to read the contents from zip file in swift HOT 1
- How to read the contents from zip file in swift HOT 1
- While zipping and unzipping why we need to pass data HOT 5
- gzipping creates data which is not unzipable HOT 7
- DataSize.chunk incorrect HOT 1
- Extension for JSONEncoder
- Send as a file? HOT 1
- Thread 1: EXC_BAD_ACCESS HOT 3
- No deflating on Catalina HOT 1
- unknown compression method HOT 1
- Xcode 12 : Unsigned code error when trying to run on iOS HOT 1
- xcode 12 HOT 1
- FR: Add precompiled xcframework.zip in assets HOT 1
- GzipError.Kind.buffer thrown on gunzipped()
- Hope for new improvements
- Version 5.2.0 missing on Cocoapods HOT 4
- 'package(name:url:_:)' is deprecated: use package(url:_:) instead HOT 1
- Does this library plan to support Privacy manifests? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gzipswift.