lottie-ios動畫庫在iOS9系統(tǒng)閃退

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)出。

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

友情鏈接更多精彩內(nèi)容