• 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: How to make a LaunchAgent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How to make a LaunchAgent
      • From: Roland King <email@hidden>
References: 
 >How to make a LaunchAgent (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: How to make a LaunchAgent (From: Roland King <email@hidden>)
 >Re: How to make a LaunchAgent (From: Kevin Meaney <email@hidden>)

  • Prev by Date: Re: how can i change the UITabBarItem title's color
  • Next by Date: How should windowWillUseStandardFrame:defaultFrame: work? With a WebView?
  • Previous by thread: Re: How to make a LaunchAgent
  • Next by thread: Re: How to make a LaunchAgent
  • Index(es):
    • Date
    • Thread