MobileNativeFoundation / XCLogParser

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

Analyser messages are truncated in JSON output #186

Open PatTheMav opened 1 year ago

PatTheMav commented 1 year ago

When using XCLogParser with the log output of an analyze run on a project, the description is used instead of the title, which leads to the message becoming truncated.

So instead of a title like Access to field 'a' results in a dereference of a null pointer (loaded from field 'b') [core.NullDereference] ending up in the parsed log data, just the first line of the longer description appears in the parsed output with the rest being truncated (i.e., Assuming the condition is false).

This makes it impossible to annotate source code in a meaningful way as the context of the analytical error is lost.