Xcode 11.4: Release message sent to deallocated instance

After upgrading to Xcode 11.4 from Xcode 11.3.1, I can no longer run code from Lottie v3.1.6 (see link for issue thread) on iOS 9 without crashing the application once code in the Lottie library is called on. In this case, Lottie is managed with CocoaPods, and I've tried linking it statically and dynamically, both with the same result. The exact same employment of Lottie works with Xcode 11.3.1 on an iOS 9 device.


After enabling Zombie Object in Xcode 11.4, the following is output in the console when running on an iOS 9 device:

-[Lottie.AnimationContainer release]: message sent to deallocated instance <hex address>


As I cannot find any information on this topic in the release notes for Xcode 11.4, I was wondering if anyone in the community has experienced something similar.

Replies

AnimationContainer is a subclass of CALayer and is therefore prone to the same crash described in https://forums.developer.apple.com/thread/13155, which is also tied to binaries built with Xcode 11.4 for iOS 9 devices.