Thomvis / BrightFutures

Write great asynchronous code in Swift using futures and promises
MIT License
1.9k stars 184 forks source link

Carthage issue with Result version choosing #195

Closed ktvtrifork closed 6 years ago

ktvtrifork commented 6 years ago

So in various projects I have experienced a rather odd but very specific issue, regarding the combined use of carthage ,brightfutures and result. carthage simply chooses a wrong , and VERY old version of result, (in my case 0.6-beta.1), for no obvious reasons. One solution is to specify the version of result, brighfutures are using, instead of relying on carthage to figure that out. (eventually just pointing to the master branch). I can create a PR for this if required.

the only workaround so far found, is to "play" with the cartfile and out-comment the 2 dependencies in various order, until carthage gets confused enough and does not change the versions.

EDIT:

phimage commented 6 years ago

Could we close? Not reproductible and not enough information

Bug description do not contain Carthage version, if Carthage cache has been removed, if there is other frameworks which use Result, command used with Carthage (there is many...), cartfile, cartfile.resolved, the output log, etc...

To test and debug that you need to download Carthage source and launch with Xcode on your project, make some breaking point where the version is chosen

ktvtrifork commented 6 years ago

for future reference linking to https://github.com/Carthage/Carthage/issues/2554 and closing since its a Carthage thing.