• 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: App failing when launched from Finder but not when launched from Project Builder ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App failing when launched from Finder but not when launched from Project Builder ?


  • Subject: Re: App failing when launched from Finder but not when launched from Project Builder ?
  • From: Andreas Monitzer <email@hidden>
  • Date: Mon, 3 Dec 2001 22:37:54 +0100

On Monday, December 3, 2001, at 10:19 , Thomas Deniau wrote:

When I launch my app from Project Builder, it works fine.

But when I launch it from the Finder, it unexpectedly quits with the message
:
Dec 3 20:19:11 cocoa lookupd[257]: msg_send failed ((ipc/send) invalid
destination port)

Any clue ?

Maybe you make assumptions about the current directory? In Project Builder, it's the application's bundle, in Finder, it's /. Use NSBundle for getting the full path to whatever you need.

andy


References: 
 >App failing when launched from Finder but not when launched from Project Builder ? (From: Thomas Deniau <email@hidden>)

  • Prev by Date: Re: Link scanner
  • Next by Date: Re: argument too large
  • Previous by thread: App failing when launched from Finder but not when launched from Project Builder ?
  • Next by thread: Re: App failing when launched from Finder but not when launched from Project Builder ?
  • Index(es):
    • Date
    • Thread