我正在开发一个APP,它有时会因为nanozone_error应用程序监视AVAudioSessionRouteChangeNotification而崩溃,然后执行相应的操作,如调用[AVAudioSession currentRoute],但有时,它在调用此方法时崩溃,而在iOS内部因nanozone_error而崩溃.我很困惑.有人能帮助我吗?
Incident Identifier:
CrashReporter Key:
Hardware Model: iPhone7,1
Process: MyAPP
Path:
Identifier:
Version:
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time:
Launch Time:
OS Version: iOS 8.4 (12H143)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 26
Thread 26 name: AVAudioSession Notify Thread
Thread 26 Crashed:
0 libsystem_kernel.dylib 0x0000000197187270 __pthread_kill + 8
1 libsystem_pthread.dylib 0x000000019722516c pthread_kill + 108
2 libsystem_c.dylib 0x00000001970feb14 abort + 108
3 libsystem_malloc.dylib 0x00000001971c23e0 nanozone_error + 316
4 libsystem_malloc.dylib …Run Code Online (Sandbox Code Playgroud)