BSXPCMessage received error for message: Connection interrupted
The message you are getting is due to a CIFilter bug in iOS 8.
XPC Services are meant to reduce crashes by isolating less stable components such as filters and plugins. This is usually not fatal and the connection will be restored by launchd restarting the service. Since this is not a long running service, but simply an operation, chances are that your image filter is not actually being applied.
This is very much a bug in iOS 8, and you should file a Radar (bug report) to let Apple know that (yet another piece of) iOS 8 has a bug.
If you are going to do that, you should install Quick Radar, keep track of the Radar number, and reply to the many other similar questions on Stack Overflow with the same issue. Encourage other people to file a duplicate Radar report referencing your original issue. That will give the bug more attention at Apple.
Apple really rushed this one out. The previously mentioned workaround is fine if you can make a different CIFilter subclass do what you want. Otherwise, you will just have to tinker around with copying the image, saving its NSData representation, or otherwise removing it from the CIImage workflow in some other way.
BSXPCMessage received error for message: Connection interrupted on CIContext with iOS 8
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?
Swift SKEmitter Node - BSXPCMessage received error for message: Connection interrupted
Seems to be a xCode bug using SKEffectNode. I was having other problems as well with SKEffectNode where they would not render SKEmitter children using ios 9 so I am not sure if it is fixed with ios 10.
unable to Get GPS Location BSXPCMessage received error for message: Connection interrupted
I got the same error message, still can't fix 'BSXPCMessage' error, but about the location part, I guess you're running iOS 7 version codes on iOS 8?
If so, try this:
- Add
[locationManager requestAlwaysAuthorization]
or[locationManager requestWhenInUseAuthorization]
above[locationManager startUpdatingLocation]
- open Info.plist, add
NSLocationWhenInUseUsageDescription
orNSLocationAlwaysUsageDescription
into 'information property list' with a message
That's it, hope this can help you.
Sending an email causes - Connection interrupted
From this Apple Guide I can understand that XPC services are supposed to prevent apps from crashing by separating unstable components somehow.
The crash itself is caused by some kind of a bug in CIFilter.
It's hard to tell what actually is wrong with your code, since the issue is obviously not withMFMailComposeViewController
. If you are creatingCIContext
with options like this:
[CIContext contextWithOptions: @{kCIContextUseSoftwareRenderer : @(NO)}];
Try to replace NO
with YES
Related Topics
Set Background Gradient on Button in Swift
Apply Gradient Color to Arc Created with Uibezierpath
Get Latitude/Longitude from Address
Assertion Failure When Using Uisearchdisplaycontroller in Uitableviewcontroller
Programmatically Linking Uipagecontrol to Uiscrollview
How to Add Constraint Between a View and the Top Layout Guide in a Xib File
Uiscrollview's Origin Changes After Popping Back to the Uiviewcontroller
What's Dead & Exploded in Swift's Exception Stack
Facebook Share Content Only Shares Url in iOS 9
How to Detect Taps on Mkpolylines/Overlays Like Maps.App
iOS Certificate Pinning with Swift and Nsurlsession
How to Get All Enum Values as an Array
How to Distribute iOS Applications Outside App Store
How Does Uiedgeinsetsmake Work
Present Uialertcontroller on Top of Everything Regardless of the View Hierarchy