Post

Replies

Boosts

Views

Activity

Reply to is XPC from app to CMIOExtension possible?
@ssmith_c we are working on a CMIO camera extension and need to use a XPC service to connect to the extension as we want to only add the device when the parent/configuration app is also running. Further when the parent app is closed the device should be removed again. We tried using a custom property on the class implementing CMIOExtensionProviderSource but could not access that via the CMIO C API. So we need an other way of telling the extension to add the device at runtime thats why we landed on the XPC helper approach. For this we have setup a XPC helper service as you described in the comment on this reply, but for some reasons we can not get the parent application or the extension to connect to the helper daemon. Would it be possible for you to provide an example code? Even if it is not the intended way of doing things I am pretty sure that this would help others as well.
Jan ’23