ios 如何让 iPhone 应用用户提交崩溃报告?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4325837/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to get iPhone app users to submit crash reports?
提问by Jason
Possible Duplicate:
iphone how to get crash log from customers?
Some of my users are reporting crashes. What is the best way to explain to them how to send me their crash reports, so that they show up in the iTunes Connect list of crash reports? Do they get sent when users sync their phone with their computers? Thanks!
我的一些用户报告崩溃。向他们解释如何将他们的崩溃报告发送给我,以便他们显示在 iTunes Connect 崩溃报告列表中的最佳方式是什么?当用户将手机与计算机同步时,它们会被发送吗?谢谢!
采纳答案by jsd
They will show up in iTunes Connect automatically if the users have enabled that.
如果用户已启用,它们将自动显示在 iTunes Connect 中。
When the user synchronizes their device using iTunes, crash reports are copied to a directory on the user's computer. If the application was distributed via the App Store and the user has chosen to submit crash logs to Apple, the crash log will be uploaded and the developer can download it via iTunes Connect.
当用户使用 iTunes 同步他们的设备时,崩溃报告会复制到用户计算机上的目录中。如果应用程序是通过 App Store 分发的,并且用户选择将崩溃日志提交给 Apple,那么崩溃日志将被上传,开发人员可以通过 iTunes Connect 下载它。
See: http://developer.apple.com/library/ios/#technotes/tn2008/tn2151.html
请参阅:http: //developer.apple.com/library/ios/#technotes/tn2008/tn2151.html
回答by user1215177
I've been using Crittercismto automatically get crash reports. I like it better than iTunes because you get an email alert immediately after a crash.
我一直在使用Crittercism来自动获取崩溃报告。我比 iTunes 更喜欢它,因为您在崩溃后立即收到电子邮件警报。
回答by Thomas Clayson
When the users sync with the computer they go to:
当用户与计算机同步时,他们会转到:
- Mac OS X : ~/Library/Logs/CrashReporter/MobileDevice/
- Windows XP: C:\Documents and Settings\\Application Data\Apple computer\Logs\CrashReporter/
- Windows Vista: C:\Users\\AppData\Roaming\Apple computer\Logs\CrashReporter/MobileDevice/
- Mac OS X:~/Library/Logs/CrashReporter/MobileDevice/
- Windows XP:C:\Documents and Settings\\Application Data\Apple computer\Logs\CrashReporter/
- Windows Vista:C:\Users\\AppData\Roaming\Apple computer\Logs\CrashReporter/MobileDevice/
The log file names start with application name and have the extension “crash”. They are just plain text files and can be sent by e-mail in original or zipped form, or even copy-pasted into your e-mail program.
日志文件名以应用程序名称开头,扩展名为“crash”。它们只是纯文本文件,可以以原始或压缩形式通过电子邮件发送,甚至可以复制粘贴到您的电子邮件程序中。
From: http://www.anoshkin.net/blog/2008/09/09/iphone-crash-logs/after a SIMPLE search on google for "iphone crash reports".
来自:http://www.anoshkin.net/blog/2008/09/09/iphone-crash-logs/ 在谷歌上简单搜索“iphone 崩溃报告”后。
回答by PanosJee
回答by Saad
In iTunes, with their device tethered, if the user control-clicks on the name for their device, they will be able to select "Reset Warnings". Afterwards, a dialog box will pop up when the user next Syncs their device asking if it's OK to send data to Apple. If they click OK, then iTunes will upload all the crash logs from their device to Apple's servers.
在 iTunes 中,当他们的设备被绑定时,如果用户按住 Control 键单击他们设备的名称,他们将能够选择“重置警告”。之后,当用户下次同步他们的设备时会弹出一个对话框,询问是否可以向 Apple 发送数据。如果他们单击“确定”,iTunes 会将所有崩溃日志从他们的设备上传到 Apple 的服务器。
Afterwards, you should be able to find your crash logs in iTunes Connect, and download them yourself. New crash logs will appear if your app still has problems and the user Syncs again, all automagically.
之后,您应该能够在 iTunes Connect 中找到您的崩溃日志,并自行下载。如果您的应用程序仍然存在问题并且用户再次同步,则会出现新的崩溃日志,所有这些都是自动的。