MobileNativeFoundation / XCLogParser

Tool to parse Xcode and xcodebuild logs stored in the xcactivitylog format
Apache License 2.0
1.75k stars 127 forks source link

Xcode 16 xcactivitylog is not a valid xcactivitylog file #219

Open mollyIV opened 2 days ago

mollyIV commented 2 days ago

When I run a parse command from Xcode project, I get "xcactivitylog is not a valid xcactivitylog file".

Steps to reproduce:

image

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:

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:

mollyIV commented 2 days ago

May be related to https://github.com/MobileNativeFoundation/XCLogParser/pull/217