Hi,
I have a small iMessage App which has a serach bar text field at the top. When the App is in comapct mode and I click into the search bar the whole simulator crashes with some inconsistency exception. I know there shouldn't be a search bar in compact mode and I plan to look for a other solution but why is it crashing the simulator?
Here is the stacktrace:
Version: 5.0 (1.0)
Code Type: X86-64 (Native)
Parent Process: launchd_sim [45975]
Responsible: MobileSMS [48437]
User ID: 501
Date/Time: 2017-03-30 08:26:37.122 +0200
OS Version: Mac OS X 10.12.3 (16D32)
Report Version: 12
Anonymous UUID: 620CA4B7-419B-E0D7-66BB-C939C1A35636
Sleep/Wake UUID: 041E6CB4-6F3C-4F4E-995F-9722AD0324BB
Time Awake Since Boot: 140000 seconds
Time Since Wake: 7400 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** Terminating app due to uncaught exception 'UIViewControllerHierarchyInconsistency', reason: 'child view controller:<UICompatibilityInputViewController: 0x7fe4b1d52210> should have parent view controller:<CKFullScreenAppViewController: 0x7fe4b404bf30> but actual parent is:<UIInputWindowController: 0x7fe4b2045000>'
terminating with uncaught exception of type NSException
abort() called
CoreSimulator 375.20 - Device: iPhone SE - Runtime: iOS 10.3 (14E269) - DeviceType: iPhone SE
Any ideas how to prevent this?
Cheers,
Frank