Running iPhone crash Logs from testers on XCode

随声附和 提交于 2019-12-23 03:03:35

问题


When I'm running my app on my device using XCode and I have a crash it's easy tracking where it happened on code. However, when I deploy my ad-hoc version to testers and they have a crash, is there a way for me to load the crash on XCode as if it crashed on my computer, actually seeing the stack and the variable values ?

Thanks


回答1:


As far as I know, there is no known method to obtain a full core dump file for iOS apps that you can later load on GDB.

Are you already asking your testers to send you the crash logs? Read this otherwise: Understanding and Analyzing iPhone OS Application Crash Reports

Basically:

When the user synchronizes their device using iTunes, crash reports are copied to a directory on the user's computer. […] Depending on the platform, the directory is:

Mac OS X: ~/Library/Logs/CrashReporter/MobileDevice/

Windows XP: C:\Documents and Settings\\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\

Windows Vista or 7: C:\Users\\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\



来源:https://stackoverflow.com/questions/5867119/running-iphone-crash-logs-from-testers-on-xcode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!