github issues:
https://github.com/airbnb/lottie-ios/issues/1155
Apple Developer Forums
https://forums.developer.apple.com/thread/131551
问题
大概是xcode11.4.x、11.5.x版本打包后,在iOS9上加载时没有创建拥有自定义属性的自定义CALayers,lottie库中使用了带有自定义属性的layer,但是在设置该属性前layer已被释放,访问野指针导致崩溃。
苹果回复
Custom CALayer with properties crashes on iOS 9 devices
15 april 2020, 8:36 AM — FB7664233
Recent Similar Reports: Less than 10
Resolution: Potential fix identified - For a future OS update
希望后期会被修复,我们目前的解决方案是使用11.3.x的xcode打包。
11.2版本xcode无法提交appstore
App Store Connect Operation Error
ERROR ITMS-90534: "Invalid Toolchain. Your app was built with an unsupported SDK or version of Xcode. If you plan to submit this build to the App Store, make sure you are using the versions listed in https://help.apple.com/xcode/mac/current/#/devf16aefe3b or later."
2020年9月27号更新
lottie把oc版本放出来了,经测试oc版本不闪退,就是部分动画资源需要用低版本导出。