xclogparser

Parse Xcode's SLF serialization format and convert to readable logs

brewmacoslinux
Try with needOr install directly
Source

About

Tool to parse the SLF serialization format used by Xcode

Commands

xclogparser

Examples

Convert Xcode build log to human-readable format$ xclogparser -lp path/to/logarchive.xclogarchive
Parse log and output as JSON$ xclogparser -lp path/to/logarchive.xclogarchive -json
Extract logs from Xcode DerivedData$ xclogparser -lp ~/Library/Developer/Xcode/DerivedData/*/Logs/Build/*.xclogarchive