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

Re: Debugging a privileged helper


  • Subject: Re: Debugging a privileged helper
  • From: Damien DeVille <email@hidden>
  • Date: Thu, 26 Jan 2017 13:37:47 -0800

Are you specifying the MachService you use for your XPC connection in
your launchd job?

On Thu, Jan 26, 2017, at 10:30 AM, John Brownie wrote:
> 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
_______________________________________________

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: John Brownie <email@hidden>
References: 
 >Debugging a privileged helper (From: John Brownie <email@hidden>)

  • Prev by Date: Re: iOS app groups sharing SQLite databases, notifications
  • Next by Date: WatchOS3 layering?
  • Previous by thread: Debugging a privileged helper
  • Next by thread: Re: Debugging a privileged helper
  • Index(es):
    • Date
    • Thread