Xcode 7(iOS 9)通信错误:<OS_xpc_error:<错误:0x10a1abb40>

Vai*_*akh 5 xcode objective-c swift ios9 xcode7

任何人都可以帮助我找出运行我的应用程序时出现的以下错误吗?

Communications error: <OS_xpc_error: <error: 0x10a1abb40> { count = 1,
contents = "XPCErrorDescription" => <string: 0x10a1abef0> { length =
22, contents = "Connection interrupted" } }>
Run Code Online (Sandbox Code Playgroud)

Yur*_*ets 7

如果您在iOS模拟器中运行您的应用程序,它使用XPC服务API进行进程间通信,任何断点或其他中断都可能导致此类错误.

您可以参考此Apple Doc

处理错误一节

中断处理程序 - 在连接另一端的进程崩溃或以其他方式关闭其连接时调用.

设备上app的调试不应该有这样的问题.