IMPORTANT This is a rapidly changing space and it’s not something I track for DTS specifically. The following is just my experience. It should be enough to get you unblocked but I expect there to be further, official, improvements here, both in the tools and in the documentation.
hhrthrh, Are you sure that’s the full, unmodified crash report file you got from App Review? The reason I ask is that it seems to be malformed relative to a standard JSON-style crash report. Consider this crash report I just got off my iOS 15.0 device:
{"app_name":"QCrash","timestamp":"2021-10-08 10:48:50.00 +0100","app_version":"1.0","slice_uuid":"8be8031b-d5d6-3c22-9476-f8e7ad361a52","build_version":"1.0","platform":2,"bundleID":"com.example.apple-samplecode.QCrash","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"iPhone OS 15.0 (19A346)","incident_id":"E664AD61-B7C9-4EF0-A656-556EE4EFD80C","name":"QCrash"}
{
"uptime" : 18000,
… lots of stuff …
}
Note I’ve attached the complete file here:
As you can see, there are two JSON dictionaries next to each other in the crash report. However, your crash report looks like this:
{
"uptime" : 460000,
…
}
Note that the first JSON dictionary is missing, and that’s what’s confusing our tools (more about tools below).
If you didn’t modify the crash report, and this is exactly what App Review sent you, I’d write back and ask them for a well-formed crash report. In the meantime, you can work around this by getting a copy of that first JSON dictionary from one of your other crash reports and pre-pending it to this file.
With regards our tools, the fact that you can’t drag a JSON crash report into the Devices and Simulators window is a known bug (I do not, alas, have the bug number handy). There’s a couple of ways to work around this, depending on your requirements. If your only goal is to get an old style crash report, do this:
-
Change the file extension to .ips
.
-
Move it into ~/Library/Logs/DiagnosticReports
on your Mac.
-
Run Console.
-
Click Crash Reports on the left.
-
The crash report should show up in the list at the top; select it.
Console will display a human readable crash report at the bottom. The exact format varies depending on your macOS version. I’m using macOS 11.6 and here’s what it displays:
If you want to get a symbolicated report, use the new CrashSymbolicator.py
tool from Xcode 13:
% python3 /Applications/Xcode.app/Contents/SharedFrameworks/CoreSymbolicationDT.framework/Resources/CrashSymbolicator.py QCrash-2021-10-08-104850.ips
Here’s a full transcript of that operation:
If you then want the human readable format, feed the result into Console as described previously.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"