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

Update dependency XCLogParser to v0.2.39 #116

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

FBente
Copy link

@FBente FBente commented Apr 26, 2024

With Xcode 15.3 the sent metrics could no longer be processed:

xcmetrics-1   | [ ERROR ] [ProcessMetricsJob] error processing log from file:///tmp/0B464C1E-EE26-45B8-91B2-E10429CEA0E1/5B1E1C7B-62C2-4B1C-9C37-D82CC7359047.xcactivitylog: The line *{"utime":9,"wcStartT doesn't seem like a valid SLF line [job_id: B7B7E2AF-E4DA-4058-B137-AC4A2B6038C6]
xcmetrics-1   | [ ERROR ] Job failed with error: The line *{"utime":9,"wcStartT doesn't seem like a valid SLF line [job_id: B7B7E2AF-E4DA-4058-B137-AC4A2B6038C6, job_name: ProcessMetricsJob, queue: default]

To solve this problem, the version of XCLogParser needs to be updated to v0.2.39.

I've created a docker image locally to test the change.
Please consider rebuilding the official image spotify/xcmetrics with this change to solve the issue #115 as well.

@kpriemchenko
Copy link

XCLogParser 0.2.39 has a bug, logs from xcode versions lower than 15.3 are not processed
MobileNativeFoundation/XCLogParser#209
MobileNativeFoundation/XCLogParser#211

@isaac-weisberg
Copy link

I am using Xcode 14.1, downgrading to 0.2.38 helped.

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.

3 participants