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 (Cocoa-dev@lists.apple.com)
> 
> 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/damien%40ddeville.me
> 
> This email sent to dam...@ddeville.me
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to