Search code examples
iosxcodedebuggingloggingxcode4

Is it possible to view the contents of files in the iOS Application sandbox while debugging?


I'd like to check the contents of an XML file at a specific point of execution while debugging in Xcode. Is it possible to view the contents of the file, either through the Organizer (I'm debugging using actual hardware devices, not the simulator), or by typing in some sort of command into the output/console?

I am using Xcode 4.


Solution

  • Simply open the organiser and click the 'Download' button at the bottom, then right click on the xcappdata file and select Show Package Contents.