-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Patterns Environment
- Patterns version: 0.1.2
- macOS version: 14.6.1
- Xcode version: No Xcode
- Dependency manager (Swift Package Manager, Manually): spm
What did you do?
Wanted to use the project/package.
Added the package to my existing CLI (which uses Argument Parser 1.5.0)
dependencies: [
.package(url: "https://github.com/apple/swift-argument-↵
parser", exact: "1.5.0"),
.package(url: "https://github.com/kareman/Patterns.git"↴
…, from: "0.1.2"),
],
targets: [
.executableTarget(
name: "plan",
dependencies: [
.product(name: "ArgumentParser", package: "swift-ar↴
…gument-parser"),
.product(name: "Patterns", package: "patterns"),
],
path: "Sources"
),
But can't install because I get
error: Dependencies could not be resolved because root depends on 'swift-argument-parser' 1.5.0 and root depends on 'patterns' 0.1.2..<1.0.0.
'patterns' >= 0.1.2 practically depends on 'swift-argument-parser' 0.0.1..<1.0.0 because no versions of 'patterns' match the requirement 0.1.3..<1.0.0 and 'patterns' 0.1.2 depends on 'swift-argument-parser' 0.0.1..<1.0.0.
The project uses swift-argument-parser:0.0.1
What did you expect to happen?
Use package
What happened instead?
Dependency hell
Notes
I am quite new to swift so there might be a way to exclude the dependency.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working