• 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
adding plist file in /Library/LaunchAgents...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

adding plist file in /Library/LaunchAgents...


  • Subject: adding plist file in /Library/LaunchAgents...
  • From: "Amit Jain" <email@hidden>
  • Date: Sat, 20 Jan 2007 14:23:22 +0530

Hi All,
I have added a plist file at location /Library/LaunchAgents.
The dump of that file is :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "
http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.yourcompany.iTunesDroper</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/Applications/iTunesDroper/build/Release/iTunesDroper.app/Contents/MacOS/iTunesDroper</string>
</array>
</dict>
</plist>
Actually i have made an application that is a background process.And i have
to launch that application every time when user login or restart the
mac.Butthe peoblem what i am facing is that the application launches
only when i
restart the mac but on logoff and again login it tries for 10 times and
fails by giving the following error :
CFLog (0): CFMessagePort: bootstrap_register(): failed 1103 (0x44f), port =
0x3303, name = 'com.yourcompany.iTunesDroper.ServiceProvider'
See /usr/include/servers/bootstrap_defs.h for the error codes.
iTunesDroper[313] CFLog (99): CFMessagePortCreateLocal(): failed to name
Mach port (com.yourcompany.iTunesDroper.ServiceProvider).

My application has a window thats why i have kept it in LaunchAgents instead
of LaunchDeamons. Everything works fine but i am stuck due to above reason
please help if u can.Thanks in advance.
Regards..
@mit..
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: adding plist file in /Library/LaunchAgents...
      • From: Michael Babin <email@hidden>
  • Prev by Date: Re: Regarding launching an application at startup of mac.
  • Next by Date: decimal coredata and 1000 limit
  • Previous by thread: Re: Internationalization strings file overwrite?
  • Next by thread: Re: adding plist file in /Library/LaunchAgents...
  • Index(es):
    • Date
    • Thread