We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 194f793 commit a74933fCopy full SHA for a74933f
Sources/SKSwiftPMWorkspace/SwiftPMWorkspace.swift
@@ -69,7 +69,7 @@ public final class SwiftPMWorkspace {
69
70
self.packageRoot = resolveSymlinks(packageRoot)
71
72
- guard let destinationToolchainBinDir = toolchainRegistry.default?.path?.appending(components: "usr", "bin") else {
+ guard let destinationToolchainBinDir = toolchainRegistry.default?.swiftc?.parentDirectory else {
73
throw Error.cannotDetermineHostToolchain
74
}
75
0 commit comments