Xcode 7 (iOS 9) Communication error: <OS_xpc_error: <error: 0x10a1abb40>
If you use the application in an iOS simulator, it uses the XPC services API for interprocess communication, and any breakpoint or other interrupt can cause this error.
You can refer to this apple doc
In the Error Handling section
An interrupt handler that is called when a process crashes at the other end of a connection or otherwise closes its connection.
Debugging the application on the device should not have such problems.
I had the same problem when starting my application and keyboard extension (I am creating a custom keyboard). Since you do not provide sufficient information, we do not know when this happens to you in this way. Therefore, I will leave it here if you are also working in an extension, if not .. I hope this will be useful to someone else.
- Open the info.plist file from your target keyboard.
- Set Yes to RequestsOpenAccess
- Run the application on the device
- Go to settings, general, keyboards, keyboards
- Select keyboard
- Change "Allow full access" to "True."