Dsym
What it does
Debug Symbols in Xcode & app packages.
Helps decipher memory addresses as readable part with crash analytics frameworks.
Before
//before
0 libswiftCore.dylib 0x000000018f3c9380 0x18f394000 + 217984
After dSYMs
//after Symbolicating(dSYM is used)
0 libswiftCore.dylib 0x000000018f3c9380 closure #1 in closure #1 in closure #1 in _assertionFailure+ 217984 (_:_:file:line:flags:) + 452
Location
Xcode
archive -> Show in Finder -> Show package contents
SO | iphone-where-the-dsym-file-is-located-in-crash-report
Finder
Absolute path
/Users/username/Library/Developer/Xcode/DerivedData/Project_Name-/Build/Products
format
APP_TEAM_SR_NO.app.dSYM
find
If you have the UUID you are looking for, you can search the files with the following command:
mdfind "com_apple_xcode_dsym_uuids == <UUID>"
Config
Build Settings
Debug Information Format - DWARF with dSYM File
Debug
dwarfdump CustomFramework.xcframework/ios-arm64-simulator/CustomFramework.framework/CustomFramework
dwarfdump CustomFramework.xcframework/ios-arm64/CustomFramework.framework/CustomFramework > ent_os_framework_analytics.txt
Manual Key dSyms remove
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
Reference
medium | overview-of-dsym-crashlytics-in-ios
SO | whats-the-dsym-and-how-to-use-it-ios-sdk
SO | firebase-crashlytics-upload-missing-dsyms-to-see-crashes-from-1-versions-ios
new-relic-mobile-ios/configuration/retrieve-dsyms-bitcode-apps/
apple dev | diagnosing-issues-using-crash-reports-and-device-logs