What is Communications error: OS_xpc_error in Xcode 6?

XPC is Apple’s inter-process communication (IPC) system. Some functionality (such as h.264 encoding/decoding, or interacting with camera hardware) is handled by a separate app – a daemon – that runs all the time in the background.

Connection interrupted means that the IPC connection was interrupted for some reason. Perhaps it took too long, perhaps the timing was just bad and the daemon or your app needed to urgently do something else.

It’s probably not an error per se. When dealing with IPC, the daemon should be considered a black box, and your connection to it, somewhat flimsy. In this case you’re talking to the daemon indirectly (via Apple’s libraries), and it’s likely they’ve designed it to work asynchronously and automatically recover from errors.

Leave a Comment