Hi there! I see a few bug reports similar to this internally. Have you filed this already on feedback assistant? Also what macOS version are you running?
I'm running macOS Big Sur (11.3.1) on M1 Mac Mini
Didn't created feedback because of official holiday in my country. Will try to do it today.
After some research my issue was found in release notes of iOS:
https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-15-beta-release-notes
Using dispatch semaphores in an iOS app running in a device simulator on a Mac with Apple silicon running macOS 11 will cause the app to crash. (81783378)
I'm using semaphore in my application, and that rings a bell into my head.
And there is workaround for it:
Workaround: In Xcode, select Product > Scheme > Edit Scheme, then deselect Run > Options > Queue Debugging > “Enable backtrace recording.”
After that everything seems to work normal.