我收到以下崩溃报告.它们仅出现在iOS 8设备上.请注意以下消息:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'this request has been neutered - you can't call -sendResponse: twice nor after encoding it'
Run Code Online (Sandbox Code Playgroud)
崩溃报告:
Date/Time: 2014-08-31T01:39:15Z
OS Version: iPhone OS 8.0 (12A4345d)
Report Version: 104
Exception Type: SIGABRT
Exception Codes: #0 at 0x1964cb270
Crashed Thread: 0
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'this request has been neutered - you can't call -sendResponse: twice nor after encoding it'
Last Exception Backtrace:
0 CoreFoundation …Run Code Online (Sandbox Code Playgroud) 我的应用程序在某些情况下崩溃.无法找到崩溃的原因和地点.
以下是崩溃日志(iPad/iOS 8.0.2).
Hardware Model: iPad2,5
OS Version: iOS 8.0.2 (12A405)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x306b3dfc __pthread_kill + 8
1 libsystem_pthread.dylib 0x30733d0e pthread_kill + 58
2 libsystem_c.dylib 0x30653934 abort + 72
3 libc++abi.dylib 0x2f864bb8 abort_message + 84
4 libc++abi.dylib 0x2f87e66a default_terminate_handler() + 262
5 libobjc.A.dylib 0x30052f0e _objc_terminate() + 190
6 libc++abi.dylib 0x2f87bdec std::__terminate(void (*)()) + 76
7 libc++abi.dylib 0x2f87b5ac __cxa_throw + 108
8 libobjc.A.dylib …Run Code Online (Sandbox Code Playgroud) 我在pre ios8中使用了后台提取没有问题.但在ios8中,当我模拟手机上的背景提取时,我首先得到一个错误,即我没有播放声音的权限,因此我没有得到任何本地通知.然后打开应用程序,应用程序崩溃,我得到这个奇怪的错误:
由于未捕获的异常'NSInternalInconsistencyException'终止应用程序,原因:'此请求已被中断 - 您不能调用-sendResponse:两次,也不能在编码之后调用它'