Our app is going to move for testing. We need to debug for finding defects. Is there a way to have a log file on iphone, put all the methods calls on to it and copy it back to desktop pc when required?
I understood from other threads that logging is possible. The only pending part is copying the file from iphone to desktop PC. Is it possible ? How ?
If you write out your logs to a file inside the App’s Documents directory, and you have access to the device, then you can download the Application Data directory. I’ve done this before to copy off the logs and SQLite database from our application. You can follow the instructions here:
Managing Application Data
To make a copy of your application’s device–based file system to your Mac:
Note: I’m not sure it show the triangle you need to click on, so I’ve included my own screenshot of it.

(source: christophercotton.com)
Now, if you don’t have access to the device. Then the easiest way it to have a webserver that can capture the data, and have the application upload the data via a preference pane button.