On May 15, 2008, at 11:45 AM, Jens Alfke wrote:
The problem was that I access a file (without proper error-
handling; I will add that now :-)). The default working directory
is the main-bundle path when run from within XCode and it is "/"
when run from Finder.
I repaired this by adding
[[
On 15 May '08, at 9:42 AM, Yann Disser wrote:
The problem was that I access a file (without proper error-handling;
I will add that now :-)). The default working directory is the main-
bundle path when run from within XCode and it is "/" when run from
Finder.
I repaired this by adding
[[NS
On Thu, May 15, 2008 at 12:42 PM, Yann Disser <[EMAIL PROTECTED]> wrote:
> Thank you all for your help. I managed to fix the problem by going over
> your suggestions.
>
> The problem was that I access a file (without proper error-handling; I will
> add that now :-)). The default working directory
Le 15 mai 08 à 18:42, Yann Disser a écrit :
Thank you all for your help. I managed to fix the problem by going
over your suggestions.
The problem was that I access a file (without proper error-handling;
I will add that now :-)). The default working directory is the main-
bundle path when
Thank you all for your help. I managed to fix the problem by going
over your suggestions.
The problem was that I access a file (without proper error-handling; I
will add that now :-)). The default working directory is the main-
bundle path when run from within XCode and it is "/" when run fr
Please stop copying Yann Disser's name into the subject line! It
breaks up threads unnecessarily.
Hamish
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
Here's a few suggestions
a) Check your settings in project ( as in project -> edit project
settings )
Check that your target platform and lib selection is OK.
Ensure that you are not zero linking.
b) Do a completely clean build - i.e. close the project and drop the
build directory into
Le 14 mai 08 à 19:56, Stuart Malin a écrit :
On May 14, 2008, at 5:55 AM, [EMAIL PROTECTED] wrote:
The App runs fine in gdb and even writes the output file.
Still the same error (crash and no output written) when running it
with "open MyApp.app".
Yann
Have you built a deployment (Rel
On May 14, 2008, at 5:55 AM, [EMAIL PROTECTED] wrote:
The App runs fine in gdb and even writes the output file.
Still the same error (crash and no output written) when running it
with "open MyApp.app".
Yann
Have you built a deployment (Release) version? Unless you have done
so, a Debu
Is MyApp.app a Release build or a Debug build?
--Andy
On May 14, 2008, at 11:13 AM, Yann Disser wrote:
The App runs fine in gdb and even writes the output file.
Still the same error (crash and no output written) when running it
with "open MyApp.app".
Yann
On 14. May 2008, at 16:47,
The App runs fine in gdb and even writes the output file.
Still the same error (crash and no output written) when running it
with "open MyApp.app".
Yann
On 14. May 2008, at 16:47, Jens Alfke wrote:
On 14 May '08, at 6:48 AM, Yann Disser wrote:
How can I debug my App from Finder (or
On 14 May '08, at 6:48 AM, Yann Disser wrote:
How can I debug my App from Finder (or Terminal) to see where it
crashes? (printf("hallo\n") doesn't work either)
From a shell, enter "gdb MyApp.app", then "run".
I would suspect a dyld error, like a framework/library not found. The
Finder / L
You can read the crash log to see what goes wrong. (/Applications/
Utilities/Console.app)
Le 14 mai 08 à 15:48, Yann Disser a écrit :
When I launch my Cocoa application from Finder instead of from
within XCode, it reports a crash. All my other Projects seem to work
well from outside XCode.
On May 14, 2008, at 3:48 PM, Yann Disser wrote:
When I launch my Cocoa application from Finder instead of from
within XCode, it reports a crash. All my other Projects seem to
work well from outside XCode...
I tried to debug my App by changing the main-function to
int main(int argc, char *
When I launch my Cocoa application from Finder instead of from within
XCode, it reports a crash. All my other Projects seem to work well
from outside XCode...
I tried to debug my App by changing the main-function to
int main(int argc, char *argv[])
{
[[NSString stringWithString:@"hier"] wr
15 matches
Mail list logo