Inverse of SMJobBless
Inverse of SMJobBless
- Subject: Inverse of SMJobBless
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Mon, 30 Nov 2015 18:28:02 +0700
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 (email@hidden)
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:
This email sent to email@hidden