• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Inverse of SMJobBless
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Bunch of CoreData based NSDocument questions.
  • Next by Date: Self and associated type requirements (yes again!)
  • Previous by thread: Re: swift - making array of subclass of class also conforming to protocol
  • Next by thread: Re: Inverse of SMJobBless
  • Index(es):
    • Date
    • Thread