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上加載時沒有創(chuàng)建擁有自定義屬性的自定義CALayers,lottie庫中使用了帶有自定義屬性的layer,但是在設(shè)置該屬性前l(fā)ayer已被釋放,訪問野指針導(dǎo)致崩潰。
蘋果回復(fù)
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
希望后期會被修復(fù),我們目前的解決方案是使用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版本放出來了,經(jīng)測試oc版本不閃退,就是部分動畫資源需要用低版本導(dǎo)出。