setting @rpath in xcode for debugging

Discussion in 'Mac Programming' started by kamo, Mar 23, 2008.

  1. macrumors member

    Mar 21, 2008

    I can't see the values of NSStrings and other object in the debugger. I get the "Summary unavailable" label on every object.

    I think this might be because the @rpath is not set correctly, I get messages like:

    warning: Unable to read symbols for "@rpath/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics" (file not found)
    Where can I set the @rpath for the debugger? (I tried project info/ build/ linking/ runpath search paths, but that didn't do the trick.)

  2. macrumors 6502

    Jul 25, 2006
    Well, it's strange you're even able to run the app, since the correct path for that framework is this:


    Are you doing something to make it look for that framework in the wrong place?

    FYI, to change @rpaths, you need to use install_name_tool. Unfortunately, there is no tool in Xcode to do this.

    As for your actual question, I really don't know. I've never seen that before. You're using 'po' to print them out, right?
  3. thread starter macrumors member

    Mar 21, 2008
    I get these errors with the iPhone SDK.

    They are printed automatically in the debug view console.

Share This Page