iOS 16 Device setInputDataSource Crash:NSRangeException
xiakehc opened this issue · comments
Crash Info:
Fatal Exception: NSRangeException
0 CoreFoundation 0x9cb4 __exceptionPreprocess
1 libobjc.A.dylib 0x183d0 objc_exception_throw
2 CoreFoundation 0x118bbc __CFArrayHash
3 AudioSession 0x1a7c0 -[AVAudioSession setInputDataSource:error:]
4 smartunify 0x44f53c -[EZMicrophone setDevice:] + 497 (EZMicrophone.m:497)
5 smartunify 0x44ef84 -[EZMicrophone microphoneRouteChanged:] + 329 (EZMicrophone.m:329)
6 CoreFoundation 0x37590 CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER
7 CoreFoundation 0xdb828 ___CFXRegistrationPost_block_invoke
8 CoreFoundation 0xbe8b8 _CFXRegistrationPost
9 CoreFoundation 0x4bafc _CFXNotificationPost
10 Foundation 0x5cd38 -[NSNotificationCenter postNotificationName:object:userInfo:]
11 AudioSession 0x1c4d0 __63-[AVAudioSession privatePostNotificationForType:name:userInfo:]_block_invoke
12 libdispatch.dylib 0x2320 _dispatch_call_block_and_release
13 libdispatch.dylib 0x3eac _dispatch_client_callout
14 libdispatch.dylib 0x126a4 _dispatch_main_queue_drain
15 libdispatch.dylib 0x122f4 _dispatch_main_queue_callback_4CF
16 CoreFoundation 0x98c28 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE
17 CoreFoundation 0x7a560 __CFRunLoopRun
18 CoreFoundation 0x7f3ec CFRunLoopRunSpecific
19 GraphicsServices 0x135c GSEventRunModal
20 UIKitCore 0x39d6e8 -[UIApplication _run]
21 UIKitCore 0x39d34c UIApplicationMain
22 smartunify 0xdee4 main + 19 (AppDelegate.swift:19)