Carthage/Carthage

Cache failing to resolve dependencies with name collision

Ouverte

#2 150 ouverte le 8 sept. 2017

 (10 commentaires) (0 réaction) (0 personne assignée)Swift (1 544 forks)batch import
bugcheckouthelp wanted

Métriques du dépôt

Stars
 (15 179 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur