简体   繁体   English

Xcode提供了TestFlight应用程序的崩溃报告……但是我怎么读呢?

[英]Xcode gives crash reports for TestFlight app… but how do I read it?

Xcode nicely gives these crash reports for apps on the App Store or TestFlight in the Organizer window, but how the heck do I read them? Xcode很好地在管理器窗口中为App Store或TestFlight上的应用程序提供了这些崩溃报告,但是我该怎么读呢? They don't seem to give any information as to what caused the crash, it just gives the line that they occurred on. 他们似乎没有提供有关导致崩溃的原因的任何信息,而只是提供了发生它们的原因。

Even if I ask it to show me the error within my project, it just highlights the line in red and says "Thread 1", but I was expecting something like "nil value unexpectedly encountered" or something helpful. 即使我要求它向我显示项目中的错误,它也只会用红色突出显示该行并显示“线程1”,但我期望出现“意外遇到零值”之类的信息或有所帮助的东西。

Is there a way to get what caused the crash, not just what line? 有没有办法得到导致崩溃的原因,而不仅仅是行? I'm looking at the line and have no clue as to what is crashing. 我在排队,对崩溃的原因一无所知。

You can desymbolize crash logs. 您可以取消符号化崩溃日志。 I use Crashlytics to upload .dSYM files so later I can put crash log in good use. 我使用Crashlytics上传.dSYM文件,因此以后可以充分利用崩溃日志。

You can read more about crash logs from Apple documentation: https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/AnalyzingCrashReports/AnalyzingCrashReports.html 您可以从Apple文档中阅读有关崩溃日志的更多信息: https : //developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/AnalyzingCrashReports/AnalyzingCrashReports.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM