Could not instantiate class named _UITextLayoutView ,Xcode11.2 bug太多

Could not instantiate class named _UITextLayoutView because no class named _UITextLayoutView was found; the class needs to be defined in source code or linked in from a library (ensure the class is part of the correct target)

xcode升級到11.2后用xib創(chuàng)建的UITextView運(yùn)行在iOS13.2上不崩潰,在iOS13.2以下的機(jī)型全部崩潰。真是無語了,在xcode11.1時還好的,xcode升級就不行了,bug真多。

下面是stackoverflow上對這個問題的討論,改用純代碼可以避免崩潰,但我不打算改純代碼,準(zhǔn)備下回舊版xcode11.1
https://stackoverflow.com/questions/58657087/after-upgrading-to-xcode-11-2-from-xcode-11-1-app-crashes-due-to-uitextlayoutv

更新一下,蘋果發(fā)了11.2.1版本來解決UITextView崩潰的bug。歷史經(jīng)驗(yàn)告訴我們,不是很有必要的話出了新版本不要馬上更新,等過段時間穩(wěn)定了再更新。今年新版本莫名其妙的bug太多,無語。

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

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