-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip parsing of section attachments for logs with version less than 11 #213
Skip parsing of section attachments for logs with version less than 11 #213
Conversation
ce3ae52
to
58803b9
Compare
@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 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? |
58803b9
to
987ed38
Compare
@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? |
Signed-off-by: Steffen Matthischke <HeEAaD@users.noreply.github.com>
987ed38
to
ba46699
Compare
done |
251e44b
into
MobileNativeFoundation:master
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. #209 (comment)