diff --git a/packages/flutter_tools/lib/src/ios/simulators.dart b/packages/flutter_tools/lib/src/ios/simulators.dart index 5f0ce8ba5c..6a82aa9aca 100644 --- a/packages/flutter_tools/lib/src/ios/simulators.dart +++ b/packages/flutter_tools/lib/src/ios/simulators.dart @@ -660,9 +660,8 @@ class _IOSSimulatorLogReader extends DeviceLogReader { static final RegExp _flutterRunnerRegex = new RegExp(r' FlutterRunner\[\d+\] '); - /// List of log categories to always show in the logs, even if this is an - /// app-secific [DeviceLogReader]. Add to this list to make the log output - /// more verbose. + /// List of log categories to always show in the logs, even if this is an app-specific + /// [DeviceLogReader]. Add to this list to make the log output more verbose. static final List _whitelistedLogCategories = [ 'CoreSimulatorBridge', ]; @@ -694,6 +693,12 @@ class _IOSSimulatorLogReader extends DeviceLogReader { && content.endsWith(']: 0x1')) return null; + // assertion failed: 15G1212 13E230: libxpc.dylib + 57882 [66C28065-C9DB-3C8E-926F-5A40210A6D1B]: 0x7d + if (category == 'Runner' + && content.startsWith('assertion failed: ') + && content.contains(' libxpc.dylib ')) + return null; + if (_appName == null || _whitelistedLogCategories.contains(category)) return '$category: $content'; else if (category == _appName)