MobileNativeFoundation / XCLogParser

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

Unexpected className found parsing DocumentLocation Xcode3ProjectDocumentLocation #39

Closed zhangrenfeng closed 4 years ago

zhangrenfeng commented 4 years ago

Hello,

I'm trying to run xclogparser after a build and am getting this error: Error parsing the log: Unexpected className found parsing DocumentLocation Xcode3ProjectDocumentLocation

I'm running on Xcode Version 11.2 (11B52)

Sorry, I can't provide log file because the logs involve sensitive information..

BalestraPatrick commented 4 years ago

This is a duplicate of #36 and it's fixed in #38

ecamacho commented 4 years ago

I think it's different, that Xcode3ProjectDocumentLocation seems to be in a different Xcode framework. I'm reopening to do some research

ecamacho commented 4 years ago

@zhangrenfeng it's hard to test without a log, but can you try this version and let me know if it works? XCLogParser-Experimental.zip

zhangrenfeng commented 4 years ago

@zhangrenfeng it's hard to test without a log, but can you try this version and let me know if it works? XCLogParser-Experimental.zip

I use the command line tool you provided to parse the same xcactivitylog file, and the file can be parsed correctly without error

ecamacho commented 4 years ago

@zhangrenfeng great, I opened a PR to merge the fix to master https://github.com/spotify/XCLogParser/pull/40