Search code examples
objective-cmacosapp-storesandbox

Pass argument to a helper app in sandbox MacOS X <= 10.7.4


I got the program and some helper apps in the bundle and need to pass argument to one of them. Now, i use Application Groups and common folder to share parameters. Its perfect works on Mac OS X >= 10.7.5, but there is no App Groups in earlier version and sandbox doesn't allow to pass arguments directly at launch. So, how can i pass one (boolean) parameter to the helper application? Thanks!


Solution

  • for a simple bool I'd send the helper app a distributed notification.

    your helper app could do nothing upon launch but wait for this notification