dSYM Files: Finding and Recovering Lost Ones
A dSYM file is the debug symbol file that Xcode creates next to your compiled iOS app, and it’s what lets a crash report show a function name and line number instead of a column of hexadecimal addresses. Each file belongs to exactly one build, so a dSYM from the wrong build is useless, and a build whose dSYM was never saved can’t be fully read after it ships. On an app you inherited the practical questions are whether the files exist, whether they match what’s live, and what to do when they don’t.

The pages that rank for this term mostly come from crash-reporting vendors, and they explain how to upload a file to their own service. A few forum threads and a Reddit post cover the “I can’t find it” case in a paragraph or two. What I couldn’t find in the ones I read is a single walk through the whole life of the file, from the build setting that creates it to the recovery plan for a build whose files are gone. This article follows that path, written for people who own an app without having built it.
What is a dSYM file, and why does a crash report need one?
A dSYM is a companion file that maps the machine addresses in a compiled app to the function names, files and line numbers in the source code. Apple’s documentation explains that Xcode generates symbols for class names, global variables and methods, and that release builds place them in a separate debug symbol file to keep the distributed app smaller, while debug builds keep them inside the binary.
When an app crashes, the operating system records which code was running on each thread as a list of addresses. Apple’s guide on adding symbol names to a crash report calls the translation of those addresses into readable names symbolication, and it describes three states a report can be in. A fully symbolicated report shows function names on every frame, a partially symbolicated one shows names for some frames, and an unsymbolicated one shows only hexadecimal addresses, which Apple says is rarely useful for diagnosing anything.
The matching rule is where most people get caught. Each binary in your app, including the main executable, every framework and every app extension, has its own dSYM, and the pair is tied together by a build UUID recorded in both files. Apple states that if you build two binaries from the same source code with different Xcode versions or build settings, the UUIDs won’t match, and a binary and a dSYM only work together when the UUIDs are identical. So “we have the source code” is not the same as “we have the symbols”, and that gap is where most dSYM trouble starts.
How do you make sure Xcode actually produces dSYM files?
Check the Debug Information Format build setting, because Apple says it must be DWARF with dSYM File before you build for distribution. Firebase’s troubleshooting guide agrees and goes further, noting that more often than not dSYM files go missing because Xcode simply isn’t producing them.
Open the project in Xcode, select the main target, open the Build Settings tab, choose All and search for debug information format. Set it to DWARF with dSYM File for every build type that reaches users, then rebuild. Sentry’s documentation adds a useful detail for anyone who tests with debug builds, which is that this setting is the default for release builds but not for debug builds, so a project that was only ever tested in debug can look healthy until the first real release.

On an inherited project it’s worth checking this setting per target rather than only on the project. An app with a widget, a notification extension or a share extension has several targets, and each one can have its own value, so a team that fixed the main target years ago may have left the extensions producing nothing. If the crash lands inside an extension, which is common for notification handling, the missing file will be the one you most need.
It’s also worth looking at who or what builds the release. A build that runs on a developer’s laptop leaves its dSYMs on that laptop, while a build that runs on a CI server leaves them on a machine that gets wiped, and neither is a safe place to keep them. The setting only guarantees that the file is created. Keeping it is a separate job, and the rest of this article is about that job.
Where do you find the dSYM for a build that’s already live?
Look inside the Xcode archive for that release, because Apple says that when you archive your app Xcode gathers all binaries and dSYM files and stores them there. Firebase documents the route: in Xcode open the Organizer window, select your app, control-click the archive for the build you want, show it in Finder, then control-click the package and choose Show Package Contents. The dSYMs folder inside holds the files that were generated during archiving.
If you can’t find the archive, Firebase suggests a search from the terminal that lists the UUID of every dSYM Spotlight knows about on that Mac:
mdfind -name .dSYM | while read -r line; do dwarfdump -u "$line"; done
The output pairs each file with its UUID, so you can look for the one you need by its identifier rather than by guessing which folder name looks right. Firebase also says that if this finds nothing you can look in the Products directory where your app was built, which by default sits inside Derived Data. That folder only holds the latest local build of each configuration, so it’s useful for a recent release and unreliable for an old one.

Search the places the previous team worked in as well as the Mac in front of you. The usual hiding spots are a former developer’s laptop, a backup drive, a cloud folder named after the project, a CI artifact store and the crash-reporting dashboard itself, which keeps every file that was ever uploaded. If the old developer is still reachable, one message asking for their Archives folder is often faster than any recovery technique below.
How can you tell which UUID your crash report needs?
Read the build UUID out of the crash report and compare it with the UUIDs in the file you found. Running dwarfdump -u on a dSYM prints one UUID per architecture, and the crash report lists a UUID next to each binary image in its list of loaded libraries, so the comparison is a plain string match with no interpretation involved.
This check saves time, because the symptoms of a mismatch look like a tooling bug. A tool that symbolicates against the wrong file doesn’t always fail loudly, and sometimes it returns plausible function names that belong to a different build. A crash that seems to happen in an unrelated screen is a reason to verify the UUID before you start reading code.
For a one-off report from a tester or a customer, Apple says you can open the file in Xcode, choose the applicable project, and Xcode attempts to symbolicate it using the symbol information it can find. If you work from the command line, the atos tool translates a single address when you give it the binary, its load address and the matching dSYM. Neither method works without the right file, which is why the UUID comes first.
One more detail trips up teams that ship through TestFlight and the App Store. Apple’s documentation says that if you include symbol information when you upload to App Store Connect, the Crashes organizer symbolicates reports for you, and if you don’t, you still receive the reports but without symbol names. Xcode then adds names when the correct dSYM is available on your Mac. So the upload option you chose at submission time decides what the organizer can show, long after that submission is forgotten.
How do you upload dSYMs to Crashlytics or Sentry?
Upload them automatically from a build step where you can, and by hand when that step has failed. Firebase calls the automatic route the recommended one, with a run script in the Build Phases tab that processes the files and uploads them while the app builds. Sentry offers three routes: its command line tool, a Fastlane plugin and an Xcode Build Phase script, and each needs an auth token from your Sentry organization settings.
Crashlytics has one requirement that catches projects that were set up before Xcode 15. Firebase says the run script needs a fuller list of input file locations, including the dSYM folder path, the DWARF file inside it, the dSYM’s Info.plist, the built GoogleService-Info.plist and the app executable. If your project has both user script sandboxing and the debug dylib setting turned on, there’s an additional .debug.dylib path to list. Firebase explains why each is needed: with sandboxing enabled Xcode only lets the script read files declared as inputs, and the executable path lets the script avoid uploading the same dSYM twice.
When the automatic upload is failing, you have two manual options. The first is the drag and drop area on the dSYMs tab of the Crashlytics dashboard, where you upload a zip of the files. The second is the upload-symbols script that ships with the Crashlytics pod, which you can call from any step of your build with the path to your GoogleService-Info.plist and the folder of dSYMs. Both paths accept files from an old archive, so uploading the dSYMs of a release that’s already in users’ hands is a normal and safe thing to do.
The choice between the two tools is a separate question that depends on cost and workflow, and our comparison of Crashlytics and Sentry covers it. Whichever you use, the symbol upload is the step that quietly stops working, so it deserves a check in your release routine and not only a line in the setup notes.
What can you do when a dSYM is truly lost?
Try to rebuild it, and if that fails, accept partial symbolication and plan around it. A rebuild means checking out the exact commit that produced the release, using the same Xcode version and the same build settings, and archiving again. Because Apple says the UUID changes with the compiler and the settings, a rebuild only helps if the resulting UUID matches the one in your crash reports, so you have to run the comparison from the previous section before you trust it.
Plenty of rebuilds don’t match the original build, because the original Xcode version may no longer install on current macOS, a dependency may have moved, or nobody recorded which commit shipped. In that case the honest position is that the old build can’t be fully read, and the reasonable response is to put your effort where it counts. In Apple’s own example of a partially symbolicated report the system frames still carry names, so you keep a report that tells you which thread crashed and which system calls were involved.
For the long term, don’t stay attached to a build you can’t read. If a version that matters is unreadable, ship a new release built with a proper symbol upload and let new crashes arrive fully symbolicated. The new release is the one you’ll be debugging from then on anyway.

Don’t let a missing file push you into a rewrite. A team that can’t read its crashes sometimes concludes the app is unmaintainable, when the real problem is a release process that never saved its own artifacts. If you’re unsure which of those you’re looking at, our guidance on rewrite versus refactor explains how to tell, and a symbol pipeline is one of the first things worth checking.
What should an inherited app have in place for symbols?
It should have a repeatable path from every release build to a stored, uploaded set of dSYMs, and a note saying where they are. That means three things working together: the build setting that produces the files, an automated upload to your crash tool, and a copy of the archive or the dSYM folder in storage the team controls.
Start with a short audit that takes an afternoon. Confirm the Debug Information Format value on every target, open the crash tool and look for missing-symbol alerts on the last few releases, and pick one recent crash to symbolicate end to end as a test. If that test works, the pipeline is probably fine. If it fails, you’ve found out cheaply, and the failure tells you which of the three pieces is broken.
Then fix the storage problem, because it’s the one that automation tends to skip. Apple says to retain the Xcode archive for each build you distribute, and the simplest way to follow that is a CI step that zips the dSYM folder and stores it with the build number and the commit hash. A bucket or a release artifact is enough, as long as the people who need it can reach it without asking a former employee.
The last piece is ownership of the accounts those uploads rely on. The Crashlytics run script depends on your Firebase project, and a Sentry upload depends on an auth token, so both have the same handover risk as any other credential. If the app is changing hands, our notes on Apple app transfer explain what stays behind in a transfer, and the same thinking applies to the crash tool account that holds your symbols.
What belongs in the release checklist from now on?
Add the symbol checks to the release routine so they run every time and don’t depend on anyone remembering. Before submitting a build, confirm that the archive contains a dSYM for the app and for each extension, that the upload to the crash tool completed, and that the build number is recorded next to the stored files.
After the release goes live, wait for the first real crash and check that it arrives readable. The first crash after a release is the cheapest possible test of the whole chain, since it exercises the build setting, the upload and the matching in one go. If it shows a wall of hexadecimal addresses, fix the pipeline before the next release instead of after the one that goes badly.
If you’d like a second pair of eyes on an app where crashes arrive unreadable, mobile app stabilization is the work RapidLabs does after a takeover, and the symbol pipeline is one of the first things we check. A dSYM is a small file that’s easy to ignore until a crash needs it, and a team that stores one per build can read its own history.
Frequently asked questions
What is a dSYM file?
A dSYM is the companion debug symbol file that Xcode produces next to your compiled app. It records which function and line each machine address belongs to, and the crash tools use it to turn a list of hexadecimal addresses into readable function names. Apple describes it as a debug symbol file that is tied to one specific build by a build UUID.
Where do I find the dSYM for a released iOS build?
Open the Organizer window in Xcode, select your app, control-click the archive for that release and choose Show in Finder. Control-click the archive again, choose Show Package Contents and open the dSYMs folder inside it. Firebase documents the same route, and it also suggests an mdfind command with dwarfdump when you don't know where the archive went.
Can I recreate a dSYM if I lost it?
Only by rebuilding the exact same binary. Apple says two builds from identical source code but different Xcode versions or build settings get different build UUIDs, and a dSYM only works with a binary that has the identical UUID. A rebuild from the tagged commit with the same Xcode version and settings sometimes reproduces it, but you have to check the UUID before you trust it.
Why does Crashlytics say Missing dSYM?
Firebase says dSYM files go missing more often because Xcode isn't producing them than because an upload failed. Check that Debug Information Format is set to DWARF with dSYM File for every build type, then confirm the Crashlytics run script lists the file paths that Xcode 15 and later requires. If both are fine, upload the dSYMs by hand.
How do I know a dSYM matches my crash report?
Compare the UUID in the crash report with the UUID in the file. The crash report lists the build UUID of each binary image, and running dwarfdump with the -u option on a dSYM prints the UUIDs it contains. If the two strings are identical the file will symbolicate the report, and if they differ it won't, no matter how similar the version numbers look.
Do I need to keep dSYMs if my app is already on the App Store?
Yes, you should keep them for every build you ship. Apple tells developers to retain the Xcode archive for each build they distribute, because without it you might not be able to diagnose an issue from crash reports. Treat the archive, and the dSYMs inside it, as part of the release itself.
Stuck on a release, a crash, or an app nobody owns?
RapidLabs maintains, stabilizes and takes over existing iOS and Android apps. Send the app link, the stack, and what is going wrong, and you will get a plain answer on whether you need help at all.
Talk to a senior engineer about your app