• 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: Kevin Meaney <email@hidden>
  • Date: Mon, 11 Aug 2014 11:53:54 +0100

> 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 (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: "Gerriet M. Denkmann" <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>)

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