Debug Symbols
Available in Telebugs 2.2.0 and later.
Debug symbols make iOS crash reports readable. Upload the symbols from your app build, and Telebugs can show function names, source files, and line numbers instead of memory addresses. You can also upload source code to see the lines around a crash.
This guide covers iOS apps and frameworks written in Swift or Objective-C. Set up crash reporting once, then upload symbols for each build you distribute.
Before you upload
Your app needs a crash-reporting SDK configured with your project’s Telebugs DSN. The SDK must send native stack frames and binary-image details, including build UUIDs, architectures, instruction addresses, and image load addresses. Uploading symbols does not install a crash reporter or capture crashes.
For a first test, run the app without Xcode’s debugger attached, trigger a test crash, and open the app again so the SDK can send the saved crash. Check that the report reaches the right Telebugs project before troubleshooting symbols.
Prepare symbols for the exact app build
- In Xcode, set Debug Information Format to DWARF with dSYM File for the build configuration you distribute.
- Archive your app. Keep the archive and its
dSYMsfolder for that build. - Upload those dSYMs using the CLI or the Debug symbols page, as shown below.
Each executable has a build UUID. Telebugs matches symbols by project, build UUID, and architecture. Rebuilding the same app version can produce a different UUID, so keep the archive from the build you actually ship. Include matching symbols for app extensions and frameworks you build, too.
To inspect a dSYM’s UUID, run xcrun dwarfdump --uuid App.app.dSYM.
See Apple’s build-symbol guidance
for the Xcode settings.
Upload with sentry-cli
You can use sentry-cli in your build pipeline. Configure it to upload to your
Telebugs installation:
export SENTRY_URL="https://your-telebugs.example"
export SENTRY_ORG="telebugs"
export SENTRY_PROJECT="123"
# Set SENTRY_AUTH_TOKEN to your Telebugs account API key in your CI secret store.
sentry-cli debug-files upload --wait --include-sources \
"build/Flagmatch.xcarchive/dSYMs"
Replace the URL, project ID, and archive path with your own values. Use the
numeric Telebugs project ID. SENTRY_ORG is a compatibility value; keep it as
telebugs. The API key must belong to an active member of the project. Your
SDK token or DSN cannot authorize uploads.
Run this after archiving, on the build machine where the source files are still
available at the paths recorded in the dSYMs. --include-sources uploads those
files along with the symbols. Omit it if you only want function names, file
paths, and line numbers. --wait waits for processing and reports failures.
The CLI accepts dSYM folders, individual dSYMs, and ZIPs. The upload-dsym alias
also works. Repeating an upload is safe: identical files reuse their records.
For an Xcode build script, use "$DWARF_DSYM_FOLDER_PATH" after dSYM generation;
the script must have access to the source files if you include them.
Releases are optional. You do not need to create a release before uploading
symbols. You can still create and finalize releases with the CLI and send the
same release version from your SDK for release tracking. Neither release nor
dist changes native symbol matching. Uploading symbols does not create a release.
Upload symbols in Telebugs
For a manual upload, zip the dSYM bundles from your archive. For one bundle:
ditto -c -k --keepParent App.app.dSYM App.app.dSYM.zip
- Open Project settings → Debug symbols.
- Choose the ZIP under Symbol file, then select Upload Symbols.
- Choose Refresh to check progress. Ready means the file can be used.
Source bundles generated by the CLI appear as Source code, alongside
Symbols. You can also upload a generated .src.zip bundle here. Both files
are needed for source snippets; source code alone cannot resolve an address.
Project members can view and upload files. Administrators can delete files and retry reports. Each project needs its own uploads, even for the same app build.
Read a symbolicated report
Open a report and choose Symbolicated above the backtrace. This view shows resolved function names and source locations. If you uploaded matching source code, it also shows the crash line and up to five lines before and after it. Original shows the frames and any source context sent by the SDK.
Uploads also update older reports waiting for those symbols. Adding source code later refreshes reports that already have function names. These updates do not create another occurrence, change error grouping, or send another notification. Resolved locations and source snippets are also available through the report API, MCP, and report exports.
A report can remain Partial when your app’s frames are readable but other frames are unresolved. Frameworks need their own matching symbols, and Telebugs does not supply Apple’s system symbols. Missing file or line information stays unknown. Inline calls appear under the frame that contains them.
dSYM and DWARF: what to upload
A dSYM is the symbol bundle Xcode creates for an Apple binary. DWARF is the debug-information format inside it. They belong to the same workflow.
The usual upload is a ZIP of dSYM bundles. Telebugs also accepts the individual
Mach-O symbol file inside Contents/Resources/DWARF/. A stripped app binary
cannot replace its dSYM. Historical bitcode dSYMs need their original symbol
maps restored before upload.
Upload from CI with curl
If you do not use the CLI, send a ZIP directly to the API. Store the account API key as a CI secret and keep it out of shell tracing and build logs.
curl --fail --show-error --silent \
--retry 3 --retry-delay 5 --connect-timeout 10 --max-time 180 \
-H "Authorization: Bearer ${TELEBUGS_API_KEY}" \
-H 'Content-Type: application/zip' \
-H 'X-Telebugs-Filename: App.app.dSYM.zip' \
--data-binary '@App.app.dSYM.zip' \
"${TELEBUGS_URL}/api/telebugs/v1/projects/${TELEBUGS_PROJECT_ID}/debug-files"
HTTP 202 means the file was saved and processing was queued. Check for Ready before relying on it. The Debug Symbols API explains status polling, deletion, retries, and error responses.
Troubleshooting
| What you see | What to check |
|---|---|
| Missing symbols | Check the project, exact build UUID, and architecture. Upload matching symbols for extensions and frameworks too. |
| Partial result | Look at the unresolved frames. They may belong to Apple’s system libraries or a framework whose symbols you have not uploaded. |
| Names appear, but no source code | Upload with --include-sources on the build machine. The source paths must match those recorded in the dSYM. |
| Different symbols already exist | Check that you selected the original build’s dSYM. Telebugs will not replace different bytes registered for the same build and file kind. |
| Processing failed or stays Processing after a worker stopped | Upload the original file again. Telebugs can rebuild a missing converted index or restore a missing stored file. |
| Upload too large | Split a ZIP containing several dSYMs. Each upload and each individual symbol file must fit the 256 MiB limit. |
| Not enough disk space | Free space while preserving your installation’s configured disk reserve, then retry. |
| An older report cannot be retried | A dSYM cannot recover native addresses that were never captured in the report. |
Administrators can also choose Report notices → Retry Symbolication on a report. Normal uploads already retry reports waiting for matching files.
Storage and limits
Each upload and individual symbol file can be up to 256 MiB. A ZIP can contain up to 2,000 entries, 64 symbol files, and 512 MiB of expanded data. ZIP64, encrypted archives, symbolic links, and unsafe paths are rejected.
A source bundle can contain up to 1,999 UTF-8 files, 2 MiB per file, and 32 MiB of source text in total. It is also limited to one million lines and a 1 MiB manifest. Displayed source lines are capped at 1,024 bytes. Telebugs does not follow source URLs or read server files using uploaded paths.
Symbols, source bundles, and converted indexes count toward project storage and are included in backups. Report retention does not delete them. Keep files for every app build you still support. Deleting a file leaves previously resolved reports readable, but future crashes from that build need another upload.
Processing uses the existing Telebugs container and job queue. A helper starts when needed; there is no extra service to run. One upload and one symbol-processing session can run at a time per installation. Busy requests can be retried.
This release does not process minidumps or standalone Apple crash-report files. Android native symbols, R8/ProGuard mappings, Windows symbols, and Unreal crash reports are not supported by this feature.