xpc Questions
1
The documentation for the interruptionHandler block of NSXPCConnection states:
An interruption handler that is called if the remote process exits or crashes.
However, the Daemons and Services ...
Firedrake asked 23/6, 2013 at 17:42
3
I'm using XPC in one of my apps on 10.8. It's got the standard setup with protocols defined for exported interface and the remote interface. The problem I run into is with one of my methods on the ...
Tormoria asked 27/5, 2013 at 1:53
2
Solved
How would you use a LaunchAgent inside the sandbox? I want to distribute a UI-less LaunchAgent app bundle inside my main application that I can launch on demand. The reason I want this instead of a...
Elnora asked 23/6, 2013 at 18:6
0
I cannot find any hint in the docs regarding object lifecycle management.
In the XPC service, do I have to keep a strong reference to the NSXPCListener, or does the resume call take care of this ...
3
Solved
I'm trying to create an XPC service, but the service doesn't seem to being created. In my service's main method, the first thing I do is make some calls to syslog so that I can see if the service e...
0
I'm trying to get the PID of the responsible process for an XPC process.
For example, Safari has a PID of 500, and is communicating with 3 instances of com.apple.WebKit.WebContent.xpc, with PIDs o...
1
When an application process launches an XPC helper process, it doesn't actually do the fork()/exec() itself in the classic UNIX style. Instead, it sends a message to launchd, which does the dirty w...
1
Solved
I am trying to port Wine 1.7.13 to modern Cocoa. I am considering running Windows binaries in an XPC service’s process, for security isolation and crash-proofing. However, there is one problem: To ...
1
Solved
I was successful in creating XPC service and communicating with XPC service by sending messages from main application. But what I want to know is, whether its possible to initiate a communication f...
Bluh asked 7/2, 2014 at 9:11
1
Solved
The Daemons and Services Programming Guides tells that it is possible to return a proxy object through an open XPC connection, even as a reply block parameter.
Passing an Object By Proxy
Most ...
Awoke asked 2/2, 2013 at 11:23
1
Solved
I have a simple Cocoa image preview app. The user selects a file using an NSOpenPanel and the app generates a preview image using the Quick Look API.
I'd like to move the preview generation into a...
Legra asked 6/7, 2012 at 11:7
1
I'm trying to figure out how to set up IPC between my custom app and a pre-made program.
I'm using MacOSX Lion 10.7.2 and Xcode 4.2.1.
It doesn't matter actually what program exactly, since I bel...
Teirtza asked 16/3, 2012 at 18:53
0
I'm trying to use an XPC Service for inter-process communication. I've added an XPC service target to my project, and then when I try doing a xpc_connection_send_message I get EXC_BAD_INSTRUCTION. ...
Schoen asked 13/12, 2011 at 15:4
© 2022 - 2024 — McMap. All rights reserved.