I found that I could use posix_spawn() to run a second process from main. Now even with the sandBox enabled the process runs correctly without being killed. I had one last obstacle left to overcome, publishing on the mac store requires that the child process is also signed with the sandbox and I tried using these two keys "com.apple.security.app-sandbox" and "com.apple. security.inherit". The problem is that when I test it, after signing it, by opening it with a double click I get the error "zsh: trace trap /Users/myUser/Desktop/applicationName". What am I doing wrong?
Topic:
App & System Services
SubTopic:
Processes & Concurrency
Tags: