You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add instruction how force dSYM generation in Unreal Engine for Mac/iOS builds (#13795)
This PR updates the `Debug Symbols Uploading` section of the Unreal SDK
documentation by explaining how to force the generation of `dSYM` files
when building a game for Mac or iOS. This helps resolve the issue of
missing line numbers in call stacks for events captured on these
platforms (getsentry/sentry-unreal#917).
---------
Co-authored-by: Bruno Garcia <[email protected]>
Sentry requires [_dSYM files_](/platforms/unreal/data-management/debug-files/file-formats/#mach-o-and-dsym) to fully symbolicate your stack traces for macOS/iOS games. To ensure that the debug symbols are generated and can be processed by the Sentry Unreal plugin during the execution of `PostBuildSteps`, add the following build settings to your project `.Target.cs` file:
57
+
58
+
```csharp
59
+
// For Mac
60
+
MacPlatform.bUseDSYMFiles=true;
61
+
62
+
// For iOS
63
+
IOSPlatform.bGeneratedSYM=true;
64
+
```
65
+
66
+
<Alert>
67
+
68
+
Unreal Engine 5.3 and newer supports [Modernized Xcode Workflow](https://dev.epicgames.com/documentation/en-us/unreal-engine/using-modern-xcode-in-unreal-engine-5.3-and-newer) which aligns more closely with standard Apple development practices. In this case, symbol upload can be handled during the custom [Xcode Build Phase](https://docs.sentry.io/platforms/apple/guides/macos/dsym/#xcode-build-phase).
0 commit comments