Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Sources/SWBCore/ProjectModel/FilePathResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ public final class FilePathResolver: Sendable
sourceTreePath = resolveSourceTree(.buildSetting("TARGET_BUILD_DIR"), forReference: reference)
}

// FIXME: We are relying on the product reference name being constant here. This is currently true, given how our path resolver works, but it is possible to construct an Xcode project for which this doesn't work (Xcode doesn't, however, handle that situation very well). We should resolve this: <rdar://problem/29410050> Swift Build doesn't support product references with non-constant basenames
return sourceTreePath.join(productReference.name)
return sourceTreePath.join(scope.evaluate(scope.table.namespace.parseString(productReference.name)))

default:
preconditionFailure("Cannot resolve the path for a \(type(of: reference))")
Expand Down
Loading