Issue with Xcode13.0 ,cannot obtain detail crash info with specific app version on a centain day

In xcode12.5, we can get the detailed crash data in a specific app version and on a certain day through the path Xcode/.../crashes/Appstore/***.xcrashpoint/distributioninfo /.../info.json, but the file format has been modified in xcode13.0 to become Xcode/.../crashes/points/***.xcrashpoint/filters/.../ distributioninfo.json, we failed to query crash data in a specific app version on a certain day with this new file

My setup is Xcode 13.0, macOS Big Sur 11.5.2;

We can't see the detail info of the crash in a specific version on a specific date from the data downloaded from Xcode13, so we can't record the crash details of our app version in detail

Please check this problem, and if anyone had the same issue, please comment below;

Why did you create four different threads from four different accounts [1] all for variants of the same question?

[1] Namely:

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Different teams in our company use Xcode crash statistics.

OK. I recommend that, in future, you coordinate your efforts internally. Posting many copies of the same question is a waste.


With regards your technical question, I discussed this issue with DTS’s crash report specialist and we have a few points to share. Let’s start with this:

we can get the detailed crash data in a specific app version and on a certain day through the path Xcode/.../crashes/Appstore/***.xcrashpoint/distributioninfo/.../info.json

To be clear, the format of an .xcrashpoint document is not considered API. Those documents are created by Xcode for the benefit of Xcode. If you build tools that rely on their format, problems like this will crop up from time to time.

It sounds like you’re building some sort of diagnostic automation system. Doing that by piggybacking on top of Xcode’s .xcrashpoint files is not something we recommend. It would be better to get that information from the source, via the App Store Connect API.

The only fly in that ointment is that this API does not have a mechanism for returning crash reports. We have a bug on file asking for that (r. 40950129) but I have no info to share as to when that’ll happen.

Pending that, you have a couple of potential workarounds:

  • You can collect crash reports on device using MetricKit. One nice feature here is that, starting with iOS 15, MetricKit delivers such reports promptly. See WWDC 2021 Session 10181 Ultimate application performance survival guide for more on that.

  • You can continue to rummage around in .xcrashpoint documents but build your code more defensively. For example, rather than look at detailed info in the document, you could instead look for all crash reports and then do your own aggregation.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Issue with Xcode13.0 ,cannot obtain detail crash info with specific app version on a centain day
 
 
Q