Carthage/Carthage

Cache failing to resolve dependencies with name collision

オープン

#2,150 opened on 2017/09/08

 (10 件のコメント) (0 件のリアクション) (0 人の担当者)Swift (1,544 件のフォーク)batch import
bugcheckouthelp wanted

Repository metrics

Stars
 (15,179 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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. 😢

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