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
{{ message }}
Repository navigation
Initialize the output directory for crash reports before loading coreclr. #25820
The location should not be automatically backed up (iCloud).
The location must be writable.
Which means there are two main candidates:
NSTemporaryDirectory
NSCachesDirectory
It's not documented as such, but the wording on Apple's site seems to indicate NSTemporaryDirectory is cleared more often than NSCachesDirectory, so we're choosing the latter, NSCachesDirectory.
For all sandboxed apps, this is an app-specific directory, we can set it as-is.
For non-sandboxed apps (which only happens on desktop), we need to use NSCachesDirectory/<CFBundleIdentifier>
Activity
[runtime] Initialize the output directory for crash reports before lo…
[runtime] Initialize the output directory for crash reports before lo…
rolfbjarne commentedon Jul 10, 2026
This is done.
[monodroid] Set CoreCLR `$DOTNET_CrashReportRootPath` (#12135)