open XCLogParser project in Xcode 16.0 (double-tap on Package.swift)
create a new CLI scheme and set parse --project App --reporter html in Run/Arguments section
run it
Actual result:
Error: ~/Xcode/DerivedData/App-bxetwoejuursezbpdfrueoraoqur/Logs/Build/DBC5DD58-60E9-451C-9173-D87738787128.xcactivitylog is not a valid xcactivitylog file
Program ended with exit code: 1
Expected result:
properly generated HTML report
According to my debugging, the code fails on reading the activity log:
There are indeed some UTF characters in the activity log.
What's interesting if I executed the same steps and use xclogparser tool installed locally instead of running it from Xcode, the report is generated properly.
When I run a
parse
command from Xcode project, I get "xcactivitylog is not a valid xcactivitylog file".Steps to reproduce:
xcodebuild build -scheme App -workspace App.xcworkspace -resultBundlePath /path/to/generate/report
XCLogParser
project in Xcode 16.0 (double-tap onPackage.swift
)parse --project App --reporter html
in Run/Arguments sectionActual result:
Expected result:
According to my debugging, the code fails on reading the activity log:
There are indeed some UTF characters in the activity log.
What's interesting if I executed the same steps and use
xclogparser
tool installed locally instead of running it from Xcode, the report is generated properly.System Info: