From c9b40c67fc24ce0ed29635ea384559191c8e4d0d Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Fri, 25 Sep 2020 11:34:26 -0700 Subject: [PATCH] Remove ASCII art from mDNS error log (#21397) --- .../Source/FlutterObservatoryPublisher.mm | 23 ++++++++----------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/shell/platform/darwin/ios/framework/Source/FlutterObservatoryPublisher.mm b/shell/platform/darwin/ios/framework/Source/FlutterObservatoryPublisher.mm index 2f5655775..072a244a9 100644 --- a/shell/platform/darwin/ios/framework/Source/FlutterObservatoryPublisher.mm +++ b/shell/platform/darwin/ios/framework/Source/FlutterObservatoryPublisher.mm @@ -114,19 +114,16 @@ if (err != 0) { FML_LOG(ERROR) << "Failed to register observatory port with mDNS with error " << err << "."; if (@available(iOS 14.0, *)) { - FML_LOG(ERROR) - << "▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒\n" - << "On iOS 14+, local network broadcast in apps need to be declared in " - << "the app's Info.plist. Debug and profile Flutter apps and modules host " - << "VM services on the local network to support debugging features such " - << "as hot reload and DevTools.\n\nTo make your Flutter app or module " - << "attachable and debuggable, add a '" << registrationType << "' value " - << "to the 'NSBonjourServices' key in your Info.plist for the Debug/" - << "Profile configurations.\n\n" - << "For more information, see " - // Update link to a specific header as needed. - << "https://flutter.dev/docs/development/add-to-app/ios/project-setup" - << "\n▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒"; + FML_LOG(ERROR) << "On iOS 14+, local network broadcast in apps need to be declared in " + << "the app's Info.plist. Debug and profile Flutter apps and modules host " + << "VM services on the local network to support debugging features such " + << "as hot reload and DevTools. To make your Flutter app or module " + << "attachable and debuggable, add a '" << registrationType << "' value " + << "to the 'NSBonjourServices' key in your Info.plist for the Debug/" + << "Profile configurations. " + << "For more information, see " + // Update link to a specific header as needed. + << "https://flutter.dev/docs/development/add-to-app/ios/project-setup"; } } else { DNSServiceSetDispatchQueue(_dnsServiceRef, dispatch_get_main_queue()); -- GitLab