Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode SPM will not accept Quick@around-each dependency #308

Closed
woolsweater opened this issue Apr 9, 2020 · 7 comments
Closed

Xcode SPM will not accept Quick@around-each dependency #308

woolsweater opened this issue Apr 9, 2020 · 7 comments

Comments

@woolsweater
Copy link

Attempting to add Siesta as a dependency via the Xcode 11 File > Swift Packages > Add Package Dependency… method results in an error complaining about "incompatible dependencies"

the package siesta[https://github.com/bustoutsolutions/siesta] @ 1.5.0 contains incompatible dependencies:
quick[https://github.com/pcantrell/Quick] @ around-each

Screen Shot 2020-04-08 at 8 47 46 PM

And indeed, it doesn't look like Quick (or at least that fork) is compatible with SPM?

(I am using Xcode 11.3)

@pcantrell
Copy link
Member

Are you also using Quick in your own project?

@woolsweater
Copy link
Author

I am not. Sorry, should have specified: this was a new, otherwise-empty iOS project.

@pcantrell
Copy link
Member

Interesting, I’m able to reproduce locally — but it works if I add the dependency on Siesta using master instead of a version specifier. See if that workaround works for you as well, and I’ll investigate tomorrow.

@woolsweater
Copy link
Author

Yes; interesting, that works and I saw it checking out Quick as well as your fork. Thanks for the suggestion!

@pcantrell
Copy link
Member

Apparently SwiftPM simply doesn’t allow you to declare a versioned dependency on a package that depends on something by branch. Guess I’ll have to work on getting that around-each PR finished!

@pcantrell
Copy link
Member

This should now be fixed if you update your Siesta dependency to ≥ 1.5.1.

@woolsweater
Copy link
Author

That does indeed work. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants