Re: Application does not run on double click
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