iPhone SDK: Redirecting stderr/stdout to XCode console

Posted by Daniel on Stack Overflow See other posts from Stack Overflow or by Daniel
Published on 2010-03-30T17:09:27Z Indexed on 2010/03/30 17:13 UTC
Read the original article Hit count: 1079

Filed under:
|
|

I have a C library that I'm planning to use in an iPhone application. It writes a lot of its debug information to stderr. Is there an easy way to redirect stderr/stdout to my XCode console?

Will I have to write wrappers that call NSLog? If so, what would be the best way of doing so?

© Stack Overflow or respective owner

Related posts about xcode

Related posts about iphone