NSInvalidArgumentException', reason: '*** -[NSProxy doesNotRecognizeSelector:_accessibilityLoadAccessibilityInformation] called!
Originator: | steipete | ||
Number: | rdar://43228744 | Date Originated: | 13-Aug-2018 02:31 PM |
Status: | Open | Resolved: | |
Product: | iOS + SDK | Product Version: | iOS 12b5 |
Classification: | Crash/Hang/Data Loss | Reproducible: | Sometimes |
Summary: We’re getting following exception when running our tests in the iOS Simulator using KIF and EarlGrey. This crash also sometimes happens simply when running the app in the Simulator. We also seen this crash popping up in Crashlytics in production builds of PDF Viewer using iOS 12 betas. Steps to Reproduce: Cannot share example project. Too complex. Expected Results: - Actual Results: 2018-08-13 13:48:01.136278+0200 Viewer[39866:1673029] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSProxy doesNotRecognizeSelector:_accessibilityLoadAccessibilityInformation] called!' *** First throw call stack: ( 0 CoreFoundation 0x00000001127c973b __exceptionPreprocess + 331 1 libobjc.A.dylib 0x0000000117979735 objc_exception_throw + 48 2 CoreFoundation 0x00000001127c9595 +[NSException raise:format:] + 197 3 CoreFoundation 0x00000001127ce456 ___forwarding___ + 1446 4 CoreFoundation 0x00000001127d0328 _CF_forwarding_prep_0 + 120 5 UIAccessibility 0x000000013a189886 -[UIAccessibilityInformationLoader _loadAccessibilityInformationOnMainThread:] + 818 6 Foundation 0x000000011213af19 __NSFireTimer + 83 7 CoreFoundation 0x000000011272dbc4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20 8 CoreFoundation 0x000000011272d7c2 __CFRunLoopDoTimer + 1026 9 CoreFoundation 0x000000011272d02a __CFRunLoopDoTimers + 266 10 CoreFoundation 0x00000001127276ac __CFRunLoopRun + 2252 11 CoreFoundation 0x0000000112726aa1 CFRunLoopRunSpecific + 625 12 GraphicsServices 0x000000011df441dd GSEventRunModal + 62 13 UIKitCore 0x0000000127ab9a4f UIApplicationMain + 140 14 Viewer 0x000000010f9a411e main + 334 15 libdyld.dylib 0x0000000122674ced start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException Version: iOS 12b5 Notes: I wrote a hack t work around this, seems to work, but nothing we want to ship: https://gist.github.com/steipete/08974d7544d328fb7978c10505834e00
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!