Skip to content
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

Conversation

HeEAaD
Copy link
Contributor

@HeEAaD HeEAaD commented Jul 31, 2024

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)

@HeEAaD HeEAaD force-pushed the skip_ActivityLogSectionAttachment_for_version_10 branch from ce3ae52 to 58803b9 Compare July 31, 2024 15:16
@MasterWatcher
Copy link

@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.

@giovaninb
Copy link

giovaninb commented Oct 18, 2024

Up! @polac24 @ecamacho @aleksandergrzyb @CognitiveDisson Hi guys! Could you please review this pull request?

@rcek2
Copy link

rcek2 commented Oct 28, 2024

Up! @polac24 @ecamacho @CognitiveDisson please 🙏

@aleksandergrzyb
Copy link
Collaborator

@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?

@kalebhermes
Copy link

@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?

@HeEAaD HeEAaD force-pushed the skip_ActivityLogSectionAttachment_for_version_10 branch from 58803b9 to 987ed38 Compare December 10, 2024 17:18
@HeEAaD
Copy link
Contributor Author

HeEAaD commented Dec 10, 2024

@aleksandergrzyb @kalebhermes I've just rebased. Unit tests succeeded locally.

Please approve the workflow run.

@aleksandergrzyb
Copy link
Collaborator

We also had to upgrade macOS version, could you rebase on #222?

Signed-off-by: Steffen Matthischke <HeEAaD@users.noreply.github.com>
@HeEAaD HeEAaD force-pushed the skip_ActivityLogSectionAttachment_for_version_10 branch from 987ed38 to ba46699 Compare December 11, 2024 09:57
@HeEAaD
Copy link
Contributor Author

HeEAaD commented Dec 11, 2024

We also had to upgrade macOS version, could you rebase on #222?

done

@aleksandergrzyb aleksandergrzyb merged commit 251e44b into MobileNativeFoundation:master Dec 11, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unexpected token parsing array of IDEActivityLogSectionAttachment parse xcode14.3 xcactivitylog error
6 participants