Comments (11)
Do you have any ideas on how to fix that? I'm not sure how that works.
Also, would be nice to understand what's the problem with having it in all the platforms?
from networking.
Not sure how to fix, but the benefit of only having the iOS platform is it is quicker to download/clone using carthage. I know this works correctly for Alamofire if you'd like to reference their repo for some sort of carthage config or something.
from networking.
I'll have a look, thanks a lot!
from networking.
Look like Alamofire's works because they don't take the time to add a pre-loaded archived version of the framework. Here's one example. Meanwhile in Networking I add a precompiled zip file of the frameworks, in this way using carthage update
should be much faster in Networking than in Alamofire. The downside is that Carthage doesn't know how to avoid getting all the platforms.
Missing .zip file in Alamofire
Framework .zip file in Networking
from networking.
Not sure if this helps, but I noticed when pointing to your swift3 branch in my Cartfile, it worked correctly (only the iOS platform was downloaded)
from networking.
It's because in the Swift 3 branch, I'm not adding the .zip file.
from networking.
from networking.
More info https://github.com/Carthage/Carthage#archive-prebuilt-frameworks-into-one-zip-file
from networking.
You can ear more about it from it's creator in this talk:
https://youtu.be/3BqR6_SsD8o?t=18m39s
from networking.
For me using a library that has the prebuilt binaries works much faster than using another library that doesn't have them, even if that means sending all the platforms since it doesn't need to build anything, just downloads.
from networking.
Closing now since I don't see a way how we could solve this without removing all the benefits of Prebuilt binaries. Let me know if you find something about it.
from networking.
Related Issues (20)
- Support for JSONDecoder HOT 8
- Token Refresh HOT 6
- Json parameters support on DELETE HOT 3
- Progress Multipart Upload HOT 2
- Support PATCH method HOT 1
- Network Activity Indicator not showing
- Change the base URL for a single request? HOT 1
- Installation Support Swift Package Manager HOT 2
- Caching folder should not be documents folder HOT 1
- fakeGET crashes under XCode 10.0 and Swift 4.2
- Expose handleJSONRequest(..)? HOT 3
- Problem with changes on UI Threath HOT 3
- `cacheOrPurgeData` causing production crashes HOT 3
- Can't use Swift 5 Result enum due to interference with custom one. Need to rename? HOT 3
- I didn't found way to get my body data as json parsing is failing HOT 7
- Facing a strange crash time to time HOT 3
- No waitsForConnectivity support for background request. HOT 1
- Using Networking lib to make a post in the background? HOT 3
- Question - Request caching HOT 2
- Troubleshooting Logging Errors in Xcode
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 networking.