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创建的UITextView运行在iOS13.2上不崩溃,在iOS13.2以下的机型全部崩溃。真是无语了,在xcode11.1时还好的,xcode升级就不行了,bug真多。

下面是stackoverflow上对这个问题的讨论,改用纯代码可以避免崩溃,但我不打算改纯代码,准备下回旧版xcode11.1
https://stackoverflow.com/questions/58657087/after-upgrading-to-xcode-11-2-from-xcode-11-1-app-crashes-due-to-uitextlayoutv

更新一下,苹果发了11.2.1版本来解决UITextView崩溃的bug。历史经验告诉我们,不是很有必要的话出了新版本不要马上更新,等过段时间稳定了再更新。今年新版本莫名其妙的bug太多,无语。

你可能感兴趣的:(Could not instantiate class named _UITextLayoutView ,Xcode11.2 bug太多)