Upload symbol files through the Unity Dashboard
Upload symbol files through the Unity Dashboard to help diagnose issues in your project.
読み終わるまでの所要時間 2 分最終更新 2ヶ月前
Debugging symbols help you to better diagnose and fix problems. If your project is missing symbols, then these symbols might be missing from native crash reports. To fix this issue, you can manually add application symbol files to your project through the Unity Dashboard.
Upload symbol files to Diagnostics
To upload symbols, follow these steps:
- In the Unity Dashboard, open your project.
- In your project overview, select View Diagnostics.
- Select Debugging Symbols.
- Select Upload symbol file, and then choose a file from your device.
When you upload new symbols, there is a short period between the upload and when they are available for use. Wait at least five minutes before submitting a new crash. When they have been processed, any new reports should be generated with the proper symbolication.
Find missing iOS/macOS application symbols
When you build your application using Xcode, iOS/macOS places the symbols in a debug symbol file (dSYM) folder with a name similar to the following:
~/Library/Developer/Xcode/DerivedData/<build id>;/Build/Products/<build type>/appname.dSYMA dSYM file is an Executable and Linkable Format (ELF) file that contains DWARF (debugging with attributed record formats) debug information for your application. DWARF is a debugging file format that supports source-level debugging.
To verify that the dSYM contains the correct UUID, run the command, and replace with the name of your application’s dSYM:
dwarfdumpappnamedwarfdump -u appname.dSYM/Contents/Resources/DWARF/appnameThe following shows sample output from :
dwarfdumpUUID: 5EEDCCD2-38E7-3E52-81EC-B90C7BCD6D91 (armv7) appname.dSYM/Contents/Resources/DWARF/appnameUUID: 583173FD-6697-3E3C-90DC-EA9147563A5B (arm64) appname.dSYM/Contents/Resources/DWARF/appnameAfter you locate the correct dSYM folder, zip the entire folder and upload it to Diagnostics.
iOS, Bitcode, and the App Store
When you build your iOS app with Bitcode enabled and submit it to the App Store, Apple post-processes your build and creates a new binary. The new binary has a new UUID and a new corresponding dSYM. In this case, you must download the dSYM from iTunes Connect. It’s available in iTunes Connect at My Apps > Activity > All Builds > (choose your build).
When you upload your app to the App Store, check Include bitcode for iOS content and Upload your app’s symbols to receive symbolicated reports from Apple to enable the App Store to generate a new dSYM with the correct symbols.
After you download the new dSYM, verify that the UUID is correct using dwarfdump. Zip the file and upload it to Diagnostics.
For more information on symbolication, refer to Symbolicating Crash Reports (Apple).