• 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: Launching Cocoa Application externally
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launching Cocoa Application externally


  • Subject: Re: Launching Cocoa Application externally
  • From: Andy Lee <email@hidden>
  • Date: Wed, 14 May 2008 11:30:03 -0400

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, Jens Alfke wrote:


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 / LaunchServices is really bad at reporting these. Running the app from a shell or gdb should report more useful info.


On 14 May '08, at 6:55 AM, Stéphane wrote:
There's a bug in your code or in your Info.plist.

Actually I think we could answer almost all of the questions on this list that way ;-)


—Jens

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


References: 
 >Launching Cocoa Application externally (From: Yann Disser <email@hidden>)
 >Re: Launching Cocoa Application externally (From: Jens Alfke <email@hidden>)
 >Re: Launching Cocoa Application externally (From: Yann Disser <email@hidden>)

  • Prev by Date: Re: Efficient XML loading [continuation of NSString from mapped NSData thread]
  • Next by Date: Can I use NSString classes SYNCHRONOUSLY?
  • Previous by thread: Re: Launching Cocoa Application externally
  • Next by thread: Re: Launching Cocoa Application externally
  • Index(es):
    • Date
    • Thread