开发者

Auto upload crashlogs iPhone

Quick question for you.

Will I have any issues with the Appstore approval process if my app periodically checks for crashlogs and uploads it to a server? Is this even possible? If not, can I have something like a global exception handler and make my app terminate gracefully, while being able to upload exception messag开发者_如何学Goes to the server?

Thanks,

Teja


For apps distributed through the App Store, Apple will deliver the crash logs to you through iTunes Connect.

For Ad-Hoc builds, you will need to have your users send you the crash logs. When the iPhone is synchronized with iTunes, it copies all the crash logs onto the computer. Here are the locations where they are stored on various OSes:

Mac OS X: ~/Library/Logs/CrashReporter/MobileDevice/[DEVICE_NAME]

Windows XP: C:\Documents and Settings\[USERNAME]\Application Data\Apple computer\Logs\CrashReporter\[DEVICE_NAME]

Windows Vista: C:\Users\[USERNAME]\AppData\Roaming\Apple computer\Logs\CrashReporter\MobileDevice\[DEVICE_NAME]

(I got these paths from Google; haven't verified them myself. But someone can comment if they're wrong).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜