diff --git a/Sources/Public/iOS/Compatibility/CompatibleAnimationView.swift b/Sources/Public/iOS/Compatibility/CompatibleAnimationView.swift index 0f8bd18cf7..87a8cb2a9c 100644 --- a/Sources/Public/iOS/Compatibility/CompatibleAnimationView.swift +++ b/Sources/Public/iOS/Compatibility/CompatibleAnimationView.swift @@ -193,8 +193,10 @@ public final class CompatibleAnimationView: UIView { commonInit() } - required init?(coder _: NSCoder) { - fatalError("init(coder:) has not been implemented") + required init?(coder: NSCoder) { + animationView = LottieAnimationView() + super.init(coder: coder) + commonInit() } // MARK: Public