DevPrep

All topics › Building and shipping

Crashes in production: dSYMs and symbolication

Middle PRO

Essence

A Release binary has no function names or line numbers — a crash report contains only addresses. Symbolication turns the addresses back into ProfileViewModel.load() + 120 (ProfileViewModel.swift:48). That requires a dSYM — a file with debug information (DWARF) produced at build time next to the binary.

The rest of this answer, with code and interview follow-ups, is in the DevPrep app.

Read the full answer in DevPrep

Practice this before your interview

DevPrep turns these answers into one-minute challenges: what does this code print, find the bug, mock interviews. One challenge a day.

Get DevPrep on the App Store