Our application is currently crashing in production for ipad running iOS 15/15.1 beta. If a developer builds that application directly to a device running iOS 15 or use simulator, the app will work as normal.
But we see a lot of crashes in the appstoreconnect analytics data. There were no reports of crashes from users. This bug cannot be reproduced on the device.
AppVariant: 1:iPad7,12:13
Code Type: ARM-64 (Native)
Role: Non UI
OS Version: iPhone OS 15.1 (19B5052f)
Release Type: Beta
Baseband Version: 2.50.05
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x18046a04c __exceptionPreprocess + 220 (NSException.m:200)
1 libobjc.A.dylib 0x1990d9f54 objc_exception_throw + 60 (objc-exception.mm:565)
2 CoreFoundation 0x1804c1180 +[NSException raise:format:] + 112 (NSException.m:156)
3 UIKitCore 0x182ac9714 -[UIViewController __supportedInterfaceOrientations] + 936 (UIViewController.m:10506)
4 UIKitCore 0x182a8877c -[UIViewController __withSupportedInterfaceOrientation:apply:] + 60 (UIViewController.m:10564)
5 UIKitCore 0x182e2aa7c -[UIViewController setInterfaceOrientation:] + 108 (UIViewController.m:10741)
6 UIKitCore 0x182a5022c -[UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:] + 364 (UIViewController.m:6112)
7 UIKitCore 0x182b30b58 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1504 (UIView.m:15916)
8 UIKitCore 0x182a56e18 __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 140 (UIView.m:12303)
9 CoreAutoLayout 0x1993cf5f8 -[NSISEngine withBehaviors:performModifications:] + 88 (NSISEngine.m:1988)
10 UIKitCore 0x182ae6098 -[UIView(Hierarchy) _postMovedFromSuperview:] + 836 (UIView.m:471)
11 UIKitCore 0x182a02928 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 2148 (UIView.m:16699)
12 UIKitCore 0x182cf31a0 -[_UIAlertControllerPresentationController presentationTransitionWillBegin] + 220 (_UIAlertControllerPresentationController.m:196)
13 UIKitCore 0x182aa1f6c __80-[UIPresentationController _initViewHierarchyForPresentationSuperview:inWindow:]_block_invoke + 2632 (UIPresentationController.m:1649)
14 UIKitCore 0x182f37980 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke.424 + 408 (UIPresentationController.m:1137)
15 UIKitCore 0x182ba2f38 -[_UIAfterCACommitBlock run] + 72 (_UIAfterCACommitQueue.m:137)
16 UIKitCore 0x1829dd944 _runAfterCACommitDeferredBlocks + 304 (UIApplication.m:3011)
17 UIKitCore 0x1829de1b0 _cleanUpAfterCAFlushAndRunDeferredBlocks + 132 (UIApplication.m:2989)
18 UIKitCore 0x1829de360 _afterCACommitHandler + 60 (UIApplication.m:3040)
19 CoreFoundation 0x180412560 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36 (CFRunLoop.c:1804)
20 CoreFoundation 0x1803e1844 __CFRunLoopDoObservers + 572 (CFRunLoop.c:1917)
21 CoreFoundation 0x1803dc8dc __CFRunLoopRun + 1052 (CFRunLoop.c:2979)
22 CoreFoundation 0x1803f03b8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
23 GraphicsServices 0x19c42038c GSEventRunModal + 164 (GSEvent.c:2200)
24 UIKitCore 0x182d90b60 -[UIApplication _run] + 1100 (UIApplication.m:3494)
25 UIKitCore 0x182b0f8b8 UIApplicationMain + 2124 (UIApplication.m:5051)
26 — 0x1021c2af4 main + 88 (main.m:14)
27 dyld 0x1028b1a24 start + 520 (dyldMain.cpp:876)