-
-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing with Carthage with --platform iOS still installs all platform frameworks #127
Comments
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? |
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. |
I'll have a look, thanks a lot! |
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 Missing .zip file in AlamofireFramework .zip file in 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) |
It's because in the Swift 3 branch, I'm not adding the .zip file. |
You can ear more about it from it's creator in this talk: |
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. |
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. |
No description provided.
The text was updated successfully, but these errors were encountered: