How can I terminate my app in a helper app with sandboxing enabled?

前端 未结 3 2130
慢半拍i
慢半拍i 2020-12-17 05:15

I\'ve created a helper app, which monitors iTunes and launches/terminates the main app.

The launching works perfectly. The only problem is that I\'m not allowed to t

3条回答
  •  北海茫月
    2020-12-17 05:57

    The recommended way to IPC in 10.8 is using NSXPCConnection.

    See the code at Sandboxing with NSXPCConnection

提交回复
热议问题