SwiftFormat icon indicating copy to clipboard operation
SwiftFormat copied to clipboard

Universal build fails with `error: duplicate key found: '<ResolvedTarget: CommandLineTool>'`

Open torarnv opened this issue 1 year ago • 2 comments

Adding .package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.53.4") as a dependency to my project results in swift build --arch x86_64 --arch arm64 failing:

❯ swift build --arch x86_64 --arch arm64
error: duplicate key found: '<ResolvedTarget: CommandLineTool>'

torarnv avatar Mar 16 '24 13:03 torarnv

I also see this issue, starting in version 0.50.4

JARinteractive avatar Aug 15 '24 14:08 JARinteractive