CMIO CameraExtension with DistributedNotificationCenter and Process.run

I got code of CMIO CameraExtension by Xcode target and it is running with FaceTime. I guess this kind of Extension has lots of security limitation.

I like to run command like "netstat" in Extension. Is that possible to call Process.run()? I got keep getting error like "The file zsh doesn’t exist". Same code with Process.run() worked in macOS app.

I like to run DistributedNotificationCenter and send text from App to CameraExtension. Is that possible? I do not receive any message on CameraExtension.

If there is any other IPC method between macOS app and CameraExtension, please let me know.

Your CMIO sysex is sandboxed which means that both of these operations are going to be a challenge. You wrote:

If there is any other IPC method between macOS app and CameraExtension

See this post.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Process.run() is not allowed on CMIO Camera Extension. That should be listed on Xcode, "Signing & Capabilities"

I use TCP server with unprivileged Ports (1024-65535). TCP socket listening is allowed for the extension. I need to enable permission on Xcode, Sandbox "Signing & Capabilities"

CMIO CameraExtension with DistributedNotificationCenter and Process.run
 
 
Q