• 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
Debugging a privileged helper
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging a privileged helper


  • Subject: Debugging a privileged helper
  • From: John Brownie <email@hidden>
  • Date: Thu, 26 Jan 2017 20:30:19 +0200

I have a working app in Objective-C that has a privileged helper. I am creating a different app, this time in Swift, and need a privileged helper. As far as I can tell, I have mirrored all the appropriate settings, but it's not working.

Calling SMJobBless succeeds, and the job is installed appropriately in /Library/LaunchDaemons and /Library/PrivilegedHelperTools. However, when I try to activate it via NSXPCConnection, all appears to be fine in the host app, but the helper tool never launches, as far as I can tell. I've run out of places to look for problems, so I need some more ideas on how to track down the problem. Any suggestions?

Thanks in advance!
--
John Brownie
In Finland on furlough from SIL Papua New Guinea
_______________________________________________

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


  • Follow-Ups:
    • Re: Debugging a privileged helper
      • From: Damien DeVille <email@hidden>
  • Prev by Date: Re: Overriding the release mehod
  • Next by Date: Re: Problem using NSView's scrollRect:by:
  • Previous by thread: Re: Problem using NSView's scrollRect:by:
  • Next by thread: Re: Debugging a privileged helper
  • Index(es):
    • Date
    • Thread