Skip parsing of section attachments for logs with version less than 11
Fixes #211 Fixes #209
This resolves the regression introduced by #204 that parsing of older logs (pre Xcode 15.3) raises the error Unexpected token parsing array of IDEActivityLogSectionAttachment.
Parse the IDEActivityLogSectionAttachments list only for activity logs with version 11 or above because this list is missing in version 10 logs.
Thanks @yohunl for the inspiration for the fix. https://github.com/MobileNativeFoundation/XCLogParser/issues/209#issuecomment-2055828404
@polac24 @ecamacho @aleksandergrzyb @CognitiveDisson Hi guys! Could you please review this pull request? It's impossible to use XCLogParser on Xcode before 15.3 without it.
Up! @polac24 @ecamacho @aleksandergrzyb @CognitiveDisson Hi guys! Could you please review this pull request?
Up! @polac24 @ecamacho @CognitiveDisson please 🙏
@HeEAaD not sure why, but the checks fail with couldn't find remote ref refs/pull/213/merge. In #218 I updated the checkout action version, could you rebase?
@HeEAaD I was able to pull your branch and build locally and this fixes an issue I have. Is there any chance you could re-base so we could get this merged and a new version cut?
@aleksandergrzyb @kalebhermes I've just rebased. Unit tests succeeded locally.
Please approve the workflow run.
We also had to upgrade macOS version, could you rebase on #222?
We also had to upgrade macOS version, could you rebase on #222?
done