We have crashes only for iOS 15 with description: "A view controller not containing an alert controller was asked for its contained alert controller" We can't locate problem code. And also can't reproduce the crash. Stacktrace doesn't say us much.
Are the any known issues with iOS15?
The Staktrace (from Xcode and AppCenter):
LAST EXCEPTION BACKTRACE
CoreFoundation __exceptionPreprocess libobjc.A.dylib objc_exception_throw Foundation -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] UIKitCore +[UIAlertController _alertControllerContainedInViewController:] UIKitCore -[_UIAlertControllerAnimatedTransitioning _alertControllerForContext:] UIKitCore -[_UIAlertControllerAnimatedTransitioning transitionDuration:] UIKitCore -[UIPresentationController runTransitionForCurrentState] UIKitCore -[_UIAfterCACommitBlock run] UIKitCore _runAfterCACommitDeferredBlocks UIKitCore _cleanUpAfterCAFlushAndRunDeferredBlocks UIKitCore _afterCACommitHandler CoreFoundation CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION CoreFoundation __CFRunLoopDoObservers CoreFoundation __CFRunLoopRun CoreFoundation CFRunLoopRunSpecific GraphicsServices GSEventRunModal UIKitCore -[UIApplication _run] UIKitCore UIApplicationMain MobileBank main main.swift:13 0x000000010b891a24