• 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: Application does not run on double click
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application does not run on double click


  • Subject: Re: Application does not run on double click
  • From: Sherm Pendley <email@hidden>
  • Date: Thu, 15 Jun 2006 10:30:31 -0400

On Jun 15, 2006, at 10:03 AM, Gurmit Teotia wrote:

Hi All,
I'm getting a strang problem. I can run my application from XCode and
command prompt but whenever I tried to run it by double click, only white
window comes and icon in dock bar continues to jump.
I'd appreciate if someone can give me a hint on this.

Some suggestions:

First, make sure you've turned off ZeroLink - it can hide critical linker errors.

Second, make sure you're not relying on paths which are resolved relative to the current working directory. When Xcode launches your app, the CWD is the build directory, when you launch it from Finder, the CWD is "/", and when you launch it from a command prompt, it can be anything. In short, it's unreliable, so you should always use full paths.

Third, use Console.app (or tail, less, whatever...) to look for crash logs and/or error messages in console.log. Sometimes (although not always), relevant error messages can be found in console.log.

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Application does not run on double click (From: "Gurmit Teotia" <email@hidden>)

  • Prev by Date: Re: Core Data Application Using MySQL as Data Source
  • Next by Date: Re: Disallow edit for rows in NSOutlineView
  • Previous by thread: Application does not run on double click
  • Next by thread: Re: Application does not run on double click
  • Index(es):
    • Date
    • Thread