自动上传 iPhone 崩溃日志

发布于 2024-09-26 13:20:33 字数 152 浏览 5 评论 0原文

快速问你一个问题。

如果我的应用程序定期检查崩溃日志并将其上传到服务器,我的应用程序商店审批流程是否会出现任何问题?这可能吗?如果没有,我是否可以拥有类似全局异常处理程序的东西,并使我的应用程序正常终止,同时能够将异常消息上传到服务器?

谢谢,
泰贾

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

Thanks,
Teja

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

丢了幸福的猪 2024-10-03 13:20:33

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

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

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]

(这些路径是我从 Google 获得的;我自己还没有验证过。但如果有错,有人可以评论)。

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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文