I have a program which talks via NSXPCConnection to a privileged helper tool.

It also can install the helper tool, using SMJobBless().

The problem: When I change the helper tool, the only way to get the new version 
running is to remove:
        /Library/LaunchDaemons/myHelperTool.plist
        /Library/PrivilegedHelperTools/myHelperTool
and restart the computer.

There must be a better way.

There is SMJobRemove, but this is deprecated.
Maybe some launchctl commands?
But doing it from the App would be the preferred way.


Gerriet.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to