How to debug crash log on Calendar.current.component(.day, from: date)

84 Views Asked by At

Getting a crash log in my production app that seems to only be affecting one user (according to the crash logs in Organizer + a user email). However the crash log doesn't point to an issue that I understand. Here's a screenshot of the crash log:

enter image description here

The problem is I don't understand what this icu::Calendar::clear() is. Here's the crash in the project:

enter image description here

Which is initialized here as a calculated property within a NSManagedObject object:

@objc var day: String { get {
    return Day(date: self.startTime).toString()
}}

I realize this isn't a lot to go on but what I'd really like is help with where to go from here. Usually crash logs will tell me the actual error but I have no idea what goes wrong here and I'm completely unable to reproduce it myself. I wonder if it's an interaction with Core Data, like some thread issue? Any ideas on how to further debug that?

0

There are 0 best solutions below