-
Notifications
You must be signed in to change notification settings - Fork 125
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
Unexpected className found parsing IDEActivityLogMessage IDEActivityLogActionMessage #187
Comments
Hello @mollyIV, I tried using class-dump as mentioned in the documentation, but it's possible that the code in I'm not exactly sure what "action" refers to (maybe just a string?), but I believe the other 3 fields are similar to others that we have in other model objects. It's worth trying to come up with a model and see if parsing your xcactivitylog parses it correctly. |
Hello @BalestraPatrick 👋 Thank you for having a look at the issue. I've been trying to come up with the model to parse my public class IDEActivityLogActionMessage: IDEActivityLogMessage {
public let action: String // <-- the only new field
} It results in getting the following model object from the logs that I attached to the issue:
I've been moving the I believe getting only an action message should be good enough, no? 🤔 Btw, I called it I created a draft pull request. I didn't add unit tests yet, because first, I wanted to make sure that it's a good implementation direction we are heading to 😉 Thoughts? 🙇 |
I've also been running into this now that we're updated to Xcode 15. Is there anything we can do to get that draft PR through? |
It seems that with the introduction of Xcode 15, there's a new "class instance" type:
IDEActivityLogActionMessage
.An example:
According to the XCActivitylog Format documentation, we need to obtain the properties of this class from a private
IDEFoundation.framework
framework. Unfortunately, I wasn't able to do so.If anyone could help to get the list of properties we should include in a new
IDEActivityLogActionMessage.swift
, I'd be happy to implement it 🙏The text was updated successfully, but these errors were encountered: