I have got some problems on my app right now. I would like to create a CIContext with :
CIContext *myContext = [CIContext contextWithOptions:nil];
But when starting the app, this line return the following message in console : "BSXPCMessage received error for message: Connection interrupted"
This message come when I launch the app on iOS 8 (simulator or device), but not with an iOS 7 simulator (I don't have a device to try). I tried many things to solve this like try it in another projet, on another Mac, call this method on another file... I think it come from iOS 8.
It don't look to change my image processing (what I use the context to), but if there is a warning, there is a problem to solve.
Thank for your help :)
I'm having the same problem: I get the "BSXPCMessage..." message in iOS 8, but not iOS 7.
I traced it to where I create the CIContext:
self.ciContext = [CIContext contextWithOptions:@{kCIContextUseSoftwareRenderer : @(NO)}];
If you set kCIContextUseSoftwareRenderer to YES, the error goes away. Maybe iOS 8 requires you to enable CPU rendering?
connection interrupted means that the XPC connection in question was interrupted (either by the remote of the connection quitting or possibly crashing). Assuming the other side is an XPC Service, App Extension, or Launch Daemon, this is usually not fatal and the connection will be restored by launchd restarting the service.
Are there any crash logs saved to ~/Library/Logs/DiagnosticReports around this time?
Do you see anything interesting in the device's syslog at this time?
Is there anything wrong happening other than the unexpected message?
来源:https://stackoverflow.com/questions/26163018/bsxpcmessage-received-error-for-message-connection-interrupted-on-cicontext-wit