Crash Symbolication
Crash Symbolication is only available for iOS SDK 3.6.19 onwards.
Uploading dSYM Symbols
To ensure proper crash reporting with UXCam, you need to upload dSYM files. Follow the steps below to correctly set up dSYM symbol uploading in your Xcode project.
Step 1: Download the Upload Symbols Executable
- Download the "uxcam-upload-symbols" executable from this link.
- Place the executable in your app's root folder.
Step 2: Set Up dSYM File Generation in Xcode
- In Xcode, select your project from the Project Navigator.
- Click on the application target.
- Select the Build Settings tab in the Settings editor.
- Change DEBUG_INFORMATION_FORMAT to DWARF with dSYM File.
- Set ENABLE_USER_SCRIPT_SANDBOXING in your Xcode project settings to NO.
Step 3: Add a Run Script to Build Phase
- Select the Build Phase tab in the Settings editor.
- Click the + icon in the upper left corner of the main panel.
- Select New Run Script Phase from the dropdown.
- In the script box, add the following lines based on your dependency management method:
For CocoaPods
SCRIPT=$(/usr/bin/find "${SRCROOT}" -name uxcam-upload-symbols.sh | head -n 1)
"${SCRIPT}" "app-key"
For Swift Package Manager (SPM)
SCRIPT=$(/usr/bin/find "${BUILD_DIR%Build/}SourcePackages" -name uxcam-upload-symbols.sh | head -n 1)
"${SCRIPT}" "app-key"
Step 4: Add Input File Path
-
Add the input files path as follows:
${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}
-
Ensure that the For install builds only option is checked.
By following these steps, your dSYM files will be automatically uploaded to UXCam, enabling detailed crash reports and better insights.
Updated 10 days ago