Re: How to make a LaunchAgent
Re: How to make a LaunchAgent
- Subject: Re: How to make a LaunchAgent
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Mon, 11 Aug 2014 23:34:18 +0700
On 11 Aug 2014, at 17:53, Kevin Meaney <email@hidden> wrote:
>
>> 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/
Looks good.
Some questions though.
Is it true that this works only with Sandbox?
Is it true that Sandbox works only for paying Mac-Developers?
If both are true, then I am out of luck. I am a paying iOS developer, but not a paying Mac-Developers.
Anyway, as you might have guessed by now, I failed to get the project to run.
Gerriet.
_______________________________________________
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