Lottie 3.0

Application has enabled Debug breakpoint and there is Lottie animation on the start screen, hence the application will hit this exception breakpoint on each run.
public init(from decoder: Decoder) throws {
var container = try decoder.unkeyedContainer()
if !container.isAtEnd {
self.x = try container.decode(Double.self)
} else {
self.x = 0
}
}
Another Exception Breakpoint issue -
Screenshot

Code Example
required init(from decoder: Decoder) throws {
let container = try decoder.container(keyedBy: KeyframeWrapperKey.self)
if let keyframeData: T = try? container.decode(T.self, forKey: .keyframeData) {
/// Try to decode raw value; No keyframe data.
self.keyframes = [Keyframe<T>(keyframeData)]
} else
File Name
KeyframeGroup.swift
This is well known and unfortunately theres really no work around. This is how the codable container handles optional values...
I have the same issue with the KeyframeGroup. How can I solve it?
Have you tried decodeIfPresent()?
try? container. decodeIfPresent(T.self, forKey: .key)
This will not hit the Swift error breakpoint.
Please consider this issue with a bit more priority, dynamic apps with heavy lottie usage at startup make it very annoying to run with a debugger attached.
Is this issus resolved?
stll not resolved
Most helpful comment
Please consider this issue with a bit more priority, dynamic apps with heavy lottie usage at startup make it very annoying to run with a debugger attached.