Find solution in CocoaPods repo's issues: https://github.com/CocoaPods/CocoaPods/issues/12073
In Build Settings, make sure ENABLE_USER_SCRIPT_SANDBOXING is set to NO.
It's worked for me.
Post
Replies
Boosts
Views
Activity
Solution is make sure the size is not zero.
In my case, I changed the view init from MyView() to MyView(frame: self.view.bounds), and then the crash is gone.
Seems new project created by Xcode 14.2 don't has this problem.
一样啊,用键盘快捷键返回没有问题,但是习惯用触控板滑动返回就很烦,更新个版本,新 Bug 一大堆,无语了,每个版本总有好些个烦人的问题,质量太差了