> On 30 Nov 2015, at 19:59, Pierre Molinaro <[email protected]> wrote: > > Hi, > > Just increment the Bundle Version setting in the Info.plist of your > privileged helper tool, the new version will be automatically installed on > launch. > > Pierre
Thanks a lot. This is a very helpful hint. But: After doing SMJobBless twice, the third time I get kSMErrorInternalFailure. Any cure for this (other than reboot)? But anyway, this reduces the number of necessary reboots to one third. Kind regards, Gerriet. > >> Le 30 nov. 2015 à 12:28, Gerriet M. Denkmann <[email protected]> a écrit : >> >> 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 protected]) 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 [email protected]
