MobileNativeFoundation / XCLogParser

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

Integrate removing build specific information #101

Closed aleksandergrzyb closed 4 years ago

aleksandergrzyb commented 4 years ago

What?

Why?

Sometimes logs contain build specific information, such us build identifier Product-bolnckhlbzxpxoeyfujluasoupft:

libtool: file: /Users/user/Library/Developer/Xcode/DerivedData/Product-bolnckhlbzxpxoeyfujluasoupft/Build/Intermediates.noindex/Product.build/Debug-iphonesimulator/external_SwiftLibrary.build/Objects-normal/x86_64/Object.o is not an object file (not allowed in a library)

This becomes problematic when you want to group log messages by its content in order to see how often they occur. Removing such build specific information enables such grouping.

ecamacho commented 4 years ago

@aleksandergrzyb you may want to bump the version number in the Version.swift file if you plan to have a release with this change available

aleksandergrzyb commented 4 years ago

@aleksandergrzyb you may want to bump the version number in the Version.swift file if you plan to have a release with this change available

I plan to add one more thing – removing object addresses. Sometimes there are logs containing errors description and they include object address, like this one UserInfo={NSUnderlyingError=0x7fcdc8712290 {Error Domain=kCFErrorDomainCFNetwork Code=-1003 (...).