iOS 15 模拟器奔溃的解决方案

这是iOS 15 模拟器使用dispatch semaphores 导致问题,在iOS 15发行说明中有提到。

Using dispatch semaphores in an iOS app running in a device simulator on a Mac with Apple silicon running macOS 11 causes the app to crash. (81783378)
Workaround: In Xcode, select Product > Scheme > Edit Scheme, then deselect Run > Options > Queue Debugging > “Enable backtrace recording.”

解决方案:


image.jpg

你可能感兴趣的:(iOS 15 模拟器奔溃的解决方案)