Post not yet marked as solved
Post marked as unsolved with 7 replies, 1,111 views
I have an app, well, a prototype of an app. The main app is sandboxed. The XPC service is sandboxed as well. When I try to use NSTask from the XPC service it fails with:
Exception: launch path not accessible
The binary I'm trying to launch from the XPC is located inside the XPC sandbox folder. It has the correct permissions, and it runs fine.
If I disable the XPC service sandbox, it works. If I go back and enable it, it fails with the error from above.
Does anyone knows what's failing here and how to make it work?