I\'m trying to access the documents directory at iphone device to see a log file that I saved while executing the app.
I know this can be done for simulator. (you
iOS provides a framework to share documents between your application & iTunes. Check out the Core Services Layer section of the Apple docs, specifically the File-Sharing Support section. It explains how to do this:
On a side note, if this is just for debugging, you can always print logs using the default NSLog function and check the output using OS X's Console.