Can't get NSLog to work in new iPhone SDK

Discussion in 'Mac Programming' started by nick718, Mar 29, 2008.

  1. nick718 macrumors newbie

    Jul 2, 2007
    Hi All,

    I am having a very basic problem after installing the new SDK. After not seeing log statements int he console in my current project, and then trying a bunch of things, I just decided to test in a new project.

    I create a new project based on the iPhone list template. Then I just add the following line to the applicationDidFinishLoading function>


    Shouldn't this make the message show in the debug console after I build and go and the app starts?

    What am I missing here?

    Thanks all
  2. nick718 thread starter macrumors newbie

    Jul 2, 2007
    I just saw another thread on this, sorry for the dupe.
  3. cmaier macrumors G5

    Jul 25, 2007
    I;ve actually decided i like the new behavior better. I have some logging in my save/load functions. It's necessary because the directory name for your application actually changes each time you build&run now (it didn't use to do that), and the new logging allows you to see logs even if you launch your program from the springboard icon.
  4. Monkaaay macrumors 6502


    Jun 19, 2006
    Richmond, VA
    Don't worry about the duplicate. I think it goes to show how Apple needs better communication with the developer community. They could look to Microsoft on that. Microsoft does a great job of opening up and sharing with developers on their platform.

Share This Page