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

swift-tools-version in Package.swift #72

Open
DerekDally opened this issue Feb 23, 2020 · 0 comments
Open

swift-tools-version in Package.swift #72

DerekDally opened this issue Feb 23, 2020 · 0 comments

Comments

@DerekDally
Copy link

When trying to import using SPM, I get the following in Xcode 11.3.1:
The package dependency graph can not be resolved; unable find any available tag for the following requirements:
https://github.com/a2/MessagePack.swift — 3.0.1..<4.0.0

Using 11.4 beta 2, I get a different (likely more accurate) error:
because MessagePack.swift >=2.0.0 contains incompatible tools version and root depends on MessagePack.swift 3.0.1..<4.0.0, version solving failed.

Is this as simple as adding "// swift-tools-version:5.0" (or similar) to the Package.swift? If so, I'm happy to submit a PR. Otherwise if this relates to #70 or I'm just not doing something correctly, let me know?

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

1 participant