Xcode cannot resolve package dependencies for Swift Package project with version 0.50.0 #4558
Closed
Description
New Issue Checklist
- Updated SwiftLint to the latest version
- I searched for existing GitHub issues
Describe the bug
When trying to use SwiftLint 0.50.0 in a Swift Package project, Xcode 14.1 fails to resolve dependencies because SwiftLint is dependent on an unstable version of SwiftSyntax.
Environment
- SwiftLint version 0.50.0
- Xcode 14.1
- Swift Package Manager
.package(url: "https://github.com/realm/SwiftLint.git", from: "0.50.0")
Error: "Failed to resolve dependencies Dependencies could not be resolved because root depends on 'swiftlint' 0.50.0..<1.0.0.
'swiftlint' >= 0.50.0 cannot be used because no versions of 'swiftlint' match the requirement 0.50.1..<1.0.0 and package 'swiftlint' is required using a stable-version but 'swiftlint' depends on an unstable-version package 'swift-syntax'."
Metadata
Assignees
Labels
No labels