Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Separate Carthage optional dependencies #635
When I install
I think the most of users of
Since Carthage resolves dependency graph by parsing Cartfile, including optional dependencies into Cartfile causes this kind of problem.
Renamed Cartfile to Cartfile.private to make dependencies optional.
@designatednerd In fact, frameworks can be built individually even without building their dependencies (they are only needed at the time they are linked into an executable).
I have created the example repository including an empty iOS project and Cartfile.
Unfortunately I wrote the project filename incorrectly so the main unit test was broken... but I'm pretty sure it doesn't affect the conclusion.