自动上传崩溃日志iPhone [英] Auto upload crashlogs iPhone

查看:402
本文介绍了自动上传崩溃日志iPhone的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

快速提问。

如果我的应用程序定期检查崩溃日志并将其上传到服务器,我是否会对Appstore批准过程有任何问题?这有可能吗?如果没有,我是否可以使用全局异常处理程序并使我的应用程序正常终止,同时能够将异常消息上传到服务器?

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 messages to the server?

谢谢,

Teja

Thanks,
Teja

推荐答案

对于通过App Store分发的应用,Apple将通过iTunes Connect向您发送崩溃日志。

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

对于Ad-Hoc构建,您需要让您的用户向您发送崩溃日志。当iPhone与iTunes同步时,它会将所有崩溃日志复制到计算机上。以下是存储在各种操作系统上的位置:

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和设置\ [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).

这篇关于自动上传崩溃日志iPhone的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆