Open EricWVGG opened 6 years ago
Having the same issue here..
Should be fixed in https://github.com/LiveUI/S3/pull/13, could you guys check?
I'm still having problems here. Do I need the VaporTestTools dependency? I'd rather just get rid of it for my use.
I see, we need it as it will be easiest way to test/mock S3 lib in your apps. I understand there is not much at the moment but there is quite lot of work coming into this ... but yeah, if there is a compatibility issue will fit that ASAP! @Joebayld
Got it. I'll try and sort out why this is being problematic and report back.
If you having issues I would assume problem will be somewhere downstream on the test tools dependencies
@rafiki270 I am hitting this problem as well. Since this is (to my knowledge) the only Vapor 3 compatible S3 library I would classify this as a pretty critical problem. Any chance you can look into why dependencies might not be resolving? Thank you!
@mcdappdev really don't see what could be off :( ... any ideas?
I'm not sure, unfortunately. Your package files seem to be ok but maybe it's something with Package.resolved
?
I made a fork that only depends on Vapor and therefore avoids the aforementioned dependency problems. The fork only provides the S3 signer functionality, but if that's all you need, then it works: https://github.com/rausnitz/S3.
(I'm not sure why I had to specify the branch in Package.swift. When I tried doing from: "3.0.0"
then my vapor update
command would hang.)
@rausnitz Awesome! I'll use yours. Thanks :)
guys, do you by any chance have any logs to share or does the process just freeze?
I think this is an issue with the Swift Package Manager. I had this too, but updated the dependencies of the main project (all the latest version of the packages, some pinned to the latest version) and deleted Package.resolved. After that, run
vapor build --verbose --clean
and you will see the package that the package manager gets stuck resolving.
This is working for me now with RC2 (and Mojave, if that makes any difference).
building with 3.0.0-RC3.0.1