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.
2 parents a4bfa3f + 1c99ddc commit c78ed1cCopy full SHA for c78ed1c
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