You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're trying to use the XCLogParser library to get information about compilation time for each target/module in our workspace.
Previously, we used the title and compilation duration properties like this:
letbuildSteps=XcodeActivityLogAnalyzer().buildSteps(for:"App")letnames= buildSteps.map{
// The title says "Build target XYZ" where XYZ is the name of the target, for instance:
// Build target FrameworkA
$0.title.split(separator:"").last ?? $0.title
}letcompilationDurations= buildSteps.map{ $0.compilationDuration }lettargets=Dictionary(zip(names, compilationDurations),
uniquingKeysWith:{max($0, $1)})
However, this stopped working after we switched to Xcode 16 and integrated a Swift macro module. Now, all targets are showing a compilation duration of 0.
We're trying to use the XCLogParser library to get information about compilation time for each target/module in our workspace.
Previously, we used the title and compilation duration properties like this:
However, this stopped working after we switched to Xcode 16 and integrated a Swift macro module. Now, all targets are showing a compilation duration of 0.
Using the solution from XCLogParser HtmlReporter doesn't work for us because it shows incorrect targets in the HTML report and uses
duration
instead ofcompilationDuration
for charts.Can you recommend a proper way to get accurate compilation times for each target/module in the workspace?
The text was updated successfully, but these errors were encountered: