Reputation: 7439
I'm distributing my first Mac OS X application to beta-testers and i have a silly question but have trouble finding the answer :
"Where is the output of NSLog calls once your application is packaged into a .app bundle ?"
Upvotes: 3
Views: 3794
Reputation: 8098
Henry,
Asked and answered: Here
Basically, stdout/stderr go to the console log, visible with the Console.app.
Upvotes: 3
Reputation: 6102
There is not so elegant but quite user-friendly method. It is an Organizer. Yes, I know, it is a part of Xcode. You can blame me for the fact that my answer is supposed to reveal some xcodeless method but you can use the method described below even if you have no source code. It could be useful in some cases.
So, here is the method:
Window -> Organizer
menu item.Settings -> Developer -> Logging
switch control is on.Device Logs
tab. There are all the logs of your device to the moment.If there are no logs at Device Logs
tab check #4, then reconnect the device. In some case you should then restart Xcode.
Upvotes: 0