0

This seems like it probably has a really obvious answer, however I am having no luck finding it.

If I write to file on an iPhone (i.e the NSDocumentDirectory folder of that application), is there an easy way to get that file so I can view it via XCode / Organiser / some other method?

I.e, if I create a output log file and want to read it on my mac, what is the easiest way to get to the file?

Oliver Hume
  • 469
  • 1
  • 6
  • 19

1 Answers1

1

Library/Application Support/iPhone Simulator/ then your simulator version and inside that you will find your application (it will be some random name - you will have to search it) .

EDIT and when you want to do it in a device use this...

(iphone) access device's documents directory from mac?

Community
  • 1
  • 1
Ankit Srivastava
  • 11,975
  • 9
  • 57
  • 111
  • I'm actually working on a device (and can't run my code on the simulator for several reasons). Or does the iPhone mirror it's file system into that directory regardless? – Oliver Hume Dec 04 '11 at 13:25