Got emailed three .txt crash files. Cannot for the life of me figure out how to get Xcode to do something with them.
Tried:
renaming .txt to .crash
Dropping onto "devices and simulators" window
Dropping on to "devices and simulators > select device > View device logs"
"Download debug symbols" for the archive in Xcode (says "dowloaded debug symbols" so did it)
... and many other things
Xcode 13 simply refuses to respond to the drag-and-drop of the file no matter the file extension and no matter where in Xcode's various windows/tools I drop it.
Has anyone done this with a crash .txt file from app review and Xcode 13?
is better to use a TSI??
DTS tech support incidents (TSIs) have been replaced by code-level support request and, as part of that process, DTS has switched to doing the bulk of our work on DevForums.
There are three common file extensions for crash reports:
-
.txt
-
.ips
-
.crash
I’ll cover each in turn. Additionally, there is a lot of useful info in the various docs linked to by Diagnosing issues using crash reports and device logs.
The first (.txt
) isn’t ideal. You see it in places where the system requires a text file, like here on DevForums (see Posting a Crash Report) and in reports from App Review.
If you get a .txt
file, open it with a text editor to see what the real format is, and then change the extension to either .crash
or .ips
.
The second format (.ips
) is used for JSON crash reports. This is easy to identify because it looks like JSON. For example:
{"app_name":"Xcode",…}
{
"uptime" : 1400000,
…
}
IMPORTANT It isn’t actually JSON, but rather two JSON dictionaries back to back. Oh, and the first is sometimes missing.
To learn more about this format, see Interpreting the JSON format of a crash report.
There are a variety of ways to convert this to be human readable. My preferred option is to simply Quick Look the file in the Finder.
The third format (.crash
) is human readable. It usually starts with something like this:
Incident Identifier: 6156848E-344E-4D9E-84E0-87AFD0D0AE7B
CrashReporter Key: 76f2fb60060d6a7f814973377cbdc866fffd521f
Hardware Model: iPhone8,1
Process: TouchCanvas [1052]
…
For more details, see Examining the fields in a crash report.
IMPORTANT Many third-party crash reports generate files that look kinda like Apple crash reports but don’t follow this exact format. My general advice is that you avoid third-party crash reporters. See Implementing Your Own Crash Reporter for an explanation as to why.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"