diff --git a/platform/swift/source/reports/DiagnosticEventReporter.m b/platform/swift/source/reports/DiagnosticEventReporter.m index d23207d0b..347a86409 100644 --- a/platform/swift/source/reports/DiagnosticEventReporter.m +++ b/platform/swift/source/reports/DiagnosticEventReporter.m @@ -17,7 +17,7 @@ // - `osName` is everything before the version number ("iPhone OS") // - `osVersion` is the dot-delimited numbers // - `buildNumber` is the parenthesized letters and numbers -static NSString *const OS_VERSION_MATCHER = @"^(?.*)\\s+(?\\d+\\.\\d+\\.\\d+)\\s+\\((?.*)\\)$"; +static NSString *const OS_VERSION_MATCHER = @"^(?.*)\\s+(?\\d+.*)\\s+\\((?.*)\\)$"; // Name to use for `MXHangDiagnostic` events if no better name is detected static NSString *const DEFAULT_HANG_NAME = @"App Hang"; // SDK identifier used in generated files