Post

Replies

Boosts

Views

Activity

Window management crash on iOS 14
Hi, I'm seeing my app crash relatively often on iOS 14 betas, but not on any earlier version of iOS. The main thread is crashing with EXC_BAD_ACCESS KERN_PROTECTION_FAILURE. This manifests as a lot of statements at the top of the stack trace like this: UIKitCore											0x1b3c5c6ac -[UITextEffectsWindow _shouldAutorotateToInterfaceOrientation:] + 104 I'm not sure why I'm seeing an error message regarding shouldAutorotateToInterfaceOrientation, since my app doesn't support rotation, but I think that's a red herring. There are further statements down the stack trace that I think are more relevant, including: 15 UIKitCore											0x1b3267c98 -[UIViewController _tryBecomeRootViewControllerInWindow:] + 300 16 UIKitCore											0x1b3994fc0 -[UIWindow addRootViewControllerViewIfPossible] + 1200 17 UIKitCore											0x1b3995e88 -[UIWindow setRootViewController:] + 632 18 UIKitCore											0x1b3c5a124 -[UITextEffectsWindow _commonInitWithOptions:] + 384 My app is built with Xcode 11.5. What I'm wondering is, has something significant changed in window management in iOS 14 that will cause crashes if the app was built with Xcode 11?
1
0
842
Aug ’20