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.
realPath
1 parent 8acde34 commit 1c99ddcCopy full SHA for 1c99ddc
utils/swift-xcodegen/Sources/SwiftXcodeGen/BuildArgs/ClangBuildArgsProvider.swift
@@ -37,7 +37,8 @@ struct ClangBuildArgsProvider {
37
(output: AbsolutePath?, args: [Command.Argument])] = [:]
38
for command in parsed {
39
guard command.command.executable.knownCommand == .clang,
40
- let relFilePath = command.file.removingPrefix(repoPath)
+ command.file.exists,
41
+ let relFilePath = command.file.realPath.removingPrefix(repoPath)
42
else {
43
continue
44
}
0 commit comments