Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Another reason I consider https://github.com/Carthage/Carthage a better solution of the dependency management problem.


And https://github.com/apple/swift-package-manager once it's ready, which is similar to Carthage in structure (decentralized!).


Swift Package Manager will also have a centralised package index in the future, here's a quote from their [package manager proposal][1]:

> We would like to provide a package index in the future, and are investigating possible solutions.

[1]: https://github.com/apple/swift-package-manager/blob/master/D...


I really like Carthage's architecture, but there are two things I don't like about it.

1. You can't edit the frameworks unless you open a separate project, re-edit and recompile. With Pods, you can edit the Pod in your workspace.

2. Carthage doesn't go the last mile to bundle the framework into your project.

If they addressed those two things, I feel like Cocoapods would probably start losing a lot of steam. Although, after watching some videos about what the goals of Carthage were from the creators, I doubt that those two things will be addressed so I'm waiting for Swift's Package Manager.


I consider both points a feature. I think the Xcode project of the dependency should be a black box, I just want to get the resulting framework to add to my workspace.


Funny how 3 of the top 4 contributors to Carthage are current or former GitHub employees.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: