apple-crash-symbolication
What it does
This skill decodes the native part of a crash log from a .NET app on Apple platforms. It is for app developers triaging crashes in .NET MAUI or Mono apps that show only raw addresses.
When to use it
- ✓When a .NET MAUI app crashed on iOS, macOS or Mac Catalyst and the .ips log shows raw addresses.
- ✓When you need the .NET runtime frames of an Apple crash named and located.
- ✓When you want to fetch crash logs from a connected device and decode them.
Skill link
https://github.com/dotnet/skills/blob/main/plugins/dotnet-diag/skills/apple-crash-symbolication/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Decode the native backtrace in this .ips crash log from my iPhone MAUI app and show the function names.”
5 new skills a week. 1 minute to read.
How it works
The agent checks the log format, reads the image identifiers and addresses, finds the matching debug symbols, and runs the Xcode symbol tool to produce readable names and lines.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Apple Platform Crash Log .NET Symbolication
Resolves native backtrace frames from .NET MAUI and Mono app crashes on Apple platforms (iOS, tvOS, Mac Catalyst, macOS) to function names, source files, and line numbers using Mach-O UUIDs and dSYM debug symbol bundles.
Inputs: Crash log file (.ips JSON format, iOS 15+ / macOS 12+), atos (from Xcode), optionally a connected iOS device to pull crash logs from.
Do not use when: The crashing library is not a .NET component (e.g., pure Swift/UIKit), or the crash log is an Android tombstone.
Workflow
Step 1: Parse the .ips Crash Log
Format check: Before proceeding, verify the file is .ips JSON format. The first line must be valid JSON. If the file is plain text (e.g., Android tombstone with #NN pc frame lines, or legacy Apple .crash text format), stop immediately — this workflow does not apply. Report the format mismatch to the user and do not attempt any symbolication.
The .ips file is two-part JSON: line 1 is a metadata header; the remaining lines are a separate JSON crash body. Parse them separately:
lines = open('crash.ips').readlines()
metadata = json.loads(lines[0]) # app_name, bundleID, os_version, slice_uuid
crash = json.loads(''.join(lines[1:])) # Full crash report
Key fields in the crash body:
usedImages[N]hasname,base(load address),uuid,archfor each loaded binarythreads[N].frames[M]hasimageOffset,imageIndex; frame address =usedImages[imageIndex].base + imageOffsetexception.type,exception.signal(e.g.,EXC_CRASH/SIGABRT)asi(Application Specific Information) often contains the managed exception messagelastExceptionBacktracehas frames from the exception that triggered the crashfaultingThreadis the index into thethreadsarray
Parsing gotcha: Some .ips files have case-conflicting duplicate keys (vmRegionInfo / vmregioninfo). Pre-process the raw JSON to rename the lowercase duplicate before parsing. The asi field may be absent.
Step 2: Identify .NET Runtime Libraries
Filter usedImages to .NET runtime libraries:
| Library | Runtime |
|---|---|
libcoreclr |
CoreCLR runtime |
libmonosgen-2.0 |
Mono runtime |
libSystem.Native |
.NET BCL native component |
libSystem.Globalization.Native |
.NET BCL globalization |
libSystem.Security.Cryptography.Native.Apple |
.NET BCL crypto |
libSystem.IO.Compression.Native |
.NET BCL compression |
libSystem.Net.Security.Native |
.NET BCL net security |
On Apple platforms these ship as .framework bundles, so image names may omit .dylib. Match using substring (e.g., libcoreclr not libcoreclr.dylib). The app binary may appear twice in usedImages with different UUIDs.
Key bridge functions in the app binary: xamarin_process_managed_exception (managed exception bridged to ObjC NSException), xamarin_main, mono_jit_exec, coreclr_execute_assembly.
NativeAOT: Runtime is statically linked into the app binary. libSystem.* BCL libraries remain separate. The app binary needs its own dSYM from the build output.
Skip libsystem_kernel.dylib, UIKitCore, and other Apple system frameworks unless specifically asked.
Step 3: Interpret the Crash
Start with asi (Application Specific Information) — for .NET crashes, it often contains the managed exception type and message (e.g., XamlParseException, NullReferenceException). The root cause may already be visible here.
Then examine the faulting thread (threads[faultingThread]). Explain what frames #0 and #1 mean before examining other threads. Cross-thread context (GC state, thread pool) is useful for validation but not evidence of causation.
Also check lastExceptionBacktrace for the managed exception path through bridge functions like xamarin_process_managed_exception.
Sometimes the .NET runtime version is visible in image paths in usedImages, particularly on macOS when using shared-framework installs or NuGet-pack-style layouts (e.g., .../Microsoft.NETCore.App/10.0.4/libcoreclr.dylib). On iOS, however, image paths are typically inside the app bundle (for example, .../Frameworks/libcoreclr.framework/libcoreclr) and do not embed the runtime version, so you usually need to infer it via the Mach-O UUID by matching against SDK packs or symbol-server downloads rather than relying on the path alone.
Step 4: Locate dSYMs
For each .NET libr
FAQ
Which log format does it need?
It needs the .ips JSON crash format used by iOS 15 and macOS 12 or later.
Will it work with a plain text crash file?
No. The skill stops and reports the format mismatch rather than guessing.
Does it need Xcode?
Yes. It uses the symbol tool that ships with Xcode.
Details
Original description by the author
Symbolicate .NET runtime frames in Apple platform .ips crash logs (iOS, tvOS, Mac Catalyst, macOS). Extracts UUIDs and addresses from the native backtrace, locates dSYM debug symbols, and runs atos to produce function names with source file and line numbers. Automatically downloads .dwarf symbols from the Microsoft symbol server using Mach-O UUIDs. USE FOR triaging a .NET MAUI or Mono app crash from an .ips file on any Apple platform, resolving native backtrace frames in libcoreclr or libmonosgen-2.0 to .NET runtime source code, retrieving .ips crash logs from a connected iOS device or iPhone,
repo: dotnet/skills
Popularity
- GitHub stars
- 5.8k
- Ranking position
- #14575
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
create-custom-agent
5.8kHelps your agent create VS Code custom agent files with their own tools, instructions and handoffs to other agents.
create-skill
5.8kHelps your agent create a new agent skill with a valid name, a clear trigger description and a SKILL.md file that follows the standard.
csharp-scripts
5.8kHelps your agent run a small C# program as a single file with the .NET command line tool, without creating a full project.
dotnet-pinvoke
5.8kHelps your agent call native C or C++ libraries from .NET correctly, covering signatures, string handling, memory and safe handles.
Similar skills
android-clean-architecture
280kMakes your agent organize Android projects efficiently. It structures the code to make maintenance and new feature development easier.
compose-multiplatform-patterns
280kHelps your agent use Compose Multiplatform and Jetpack Compose patterns in KMP projects, covering state, navigation, theming, and performance.
dart-flutter-patterns
280kMakes your agent write code for Dart and Flutter apps. It uses modern patterns to create robust and manageable apps.