Re: Debugging a privileged helper
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