We can get our crash details and errors in console but is there anyway to get the errors and crash details into a separate file i need to create a separate log file
Could any please help me
Thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
when ever your app crashes in your iPAD or iPhone. it saves the crash file.
and when you synch the device to your itunes it copies the crash file to your system.
you can get the crash report at this location
User/library/logs/crashReporter/MobileDevice/your_device_name.
and you can easily check your logs in log navigator in xcode.
and forget to copy the .dysm file of your app( right click on your app in xcode>>show in finder>>(there you will find the .dysm file)
Steps to analyze crash report from apple:
Copy the release .app file, the .dSYM file that was created at the time of release and the crash report into a FOLDER.
OPEN terminal application and go to the folder created above (using CD command)
atos -arch armv7 -o ”/'<.dSYM filename here>’ . The memory location should be the one at which the app crashed as per the report.
Example for Foo.app: atos -arch armv7 -o ‘Foo.app’/’Foo’ 0x0003b508
This would show you the exact line, method name which resulted in crash.