> You’re not supposed to start it - launchd/XPC services is supposed to start 
> it for you. You’re supposed to register it as a LaunchAgent/Daemon, creating 
> the launchd.plist file and when you need the service, it starts and when you 
> don’t, it’s stopped again. I keep reading this is all part of the security of 
> XPC, only the system can kick one off. 

All true, but the documentation is poor. So I blogged my experience, and 
created a minimal Xcode project (Xcode 4.6) for a launch agent. All you should 
need to update is your Team ID.

http://blog.yvs.eu.com/2013/07/launchagents-and-xpc/

and 

https://github.com/SheffieldKevin/LaunchAgent/

Kevin


_______________________________________________

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