sentry_toIso8601String crashes when adding breadcrumbs
Description
Crashes with SIGPIPE or EXC_BAD_ACCESS. The stacktrace looks like this
-[NSDate(SentryExtras) sentry_toIso8601String]
-[SentryBreadcrumb serialize]
-[SentryBreadcrumb description]
Internal SDK crashes show a couple of occurrences.
Console log:
-[__NSTaggedDate sentry_toIso8601String]: unrecognized selector sent to instance 0xaf9eaa6a23e8b051
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSTaggedDate sentry_toIso8601String]: unrecognized selector sent to instance 0xaf9eaa6a23e8b051'
Version: "@sentry/react-native": "5.13.0"
Mode: Release
I don't see any occurrence anymore of this crash in our SDK crash detection. I think this was fixed with #3764 and if it happens on sentry-maui it's related to a dotnet runtime bug; see https://github.com/getsentry/sentry-dotnet/issues/3235. We can close this.