lottie-ios动画库在iOS9系统闪退

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版本不闪退,就是部分动画资源需要用低版本导出。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。