XCLogParser
XCLogParser copied to clipboard
Populating `documentURL` for other `BuildStepType`s
I realize this is something that Apple is doing with their xcactivitylog
. It appears with CompileC
and CompileSwift
that the documentURL
will contain the file name of the file that is being compiled. This is populated by the DVTDocumentLocation
.
It seems it would also be useful to have this information available to other compile types such as CompileStoryboard
and CompileXIB
. It does look like we should be able to derive this from the title
.
I took a look more at the code. This isn't as straight forward as I initially thought it would be because of the way BuildStep
objects are initialized.
A possibility would be to hijack one of the addCompilationTimes
variants to accomplish this.
Would that be considered too messy and potentially error prone?
Hi @mobileben! Is this issue still valid? In that case, do you have a POC PR to demonstrate?