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

Dependencies could not be resolved in 1.4.0 #57

Open
lexoooooo opened this issue Mar 13, 2025 · 1 comment
Open

Dependencies could not be resolved in 1.4.0 #57

lexoooooo opened this issue Mar 13, 2025 · 1 comment

Comments

@lexoooooo
Copy link

I’m attempting to incorporate this package into my SwiftPM-based project.

.package(url: “https://github.com/colinc86/LaTeXSwiftUI”, from: “1.4.0”),

However, SwiftPM encounters an error stating that the dependencies cannot be resolved.

error: Dependencies could not be resolved because root depends on 'latexswiftui' 1.4.0..<2.0.0.
'latexswiftui' >= 1.4.0 cannot be used because no versions of 'latexswiftui' match the requirement 1.4.1..<2.0.0 and package 'latexswiftui' is required using a stable-version but 'latexswiftui' depends on an unstable-version package 'swiftdraw'.

The issue was resolved by downgrading the version of LatexSwiftUI to 1.3.0. Therefore, it appears to be a bug.

@LiYanan2004
Copy link

Same here.

The issue here is you're using an unstable-version of dependency .package(url: "https://github.com/colinc86/SwiftDraw", branch: "latexswiftui"). The branch may change in the future, it's not allowed to ship package with these dynamic codes.

@colinc86

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