Carthage/Carthage

Cache failing to resolve dependencies with name collision

Open

#2,150 opened on 2017年9月8日

GitHub で見る
 (10 comments) (0 reactions) (0 assignees)Swift (15,179 stars) (1,544 forks)batch import
bugcheckouthelp wanted

説明

Carthage keeps a cache of fetched dependencies in ~/Library/Caches/org.carthage.CarthageKit/dependencies/….

Assuming you have a project with this in its Cartfile:

github "antitypical/Result"

And another project with this:

github "somebody/Result"

Then due to not using any further subdirectories for antitypical or somebody carthage ends up fetching the wrong dependency from the local cache for the second project being bootstrapped.

This pretty much defeats the whole point of supporting namespacing in the first place. 😢

コントリビューターガイド