Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 7d2d94b

Browse files
committed
Remove ASCII art from mDNS error log
1 parent 435db23 commit 7d2d94b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

shell/platform/darwin/ios/framework/Source/FlutterObservatoryPublisher.mm

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,18 +115,16 @@ - (void)publishServiceProtocolPort:(NSString*)uri {
115115
FML_LOG(ERROR) << "Failed to register observatory port with mDNS with error " << err << ".";
116116
if (@available(iOS 14.0, *)) {
117117
FML_LOG(ERROR)
118-
<< "▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒\n"
119118
<< "On iOS 14+, local network broadcast in apps need to be declared in "
120119
<< "the app's Info.plist. Debug and profile Flutter apps and modules host "
121120
<< "VM services on the local network to support debugging features such "
122-
<< "as hot reload and DevTools.\n\nTo make your Flutter app or module "
121+
<< "as hot reload and DevTools. To make your Flutter app or module "
123122
<< "attachable and debuggable, add a '" << registrationType << "' value "
124123
<< "to the 'NSBonjourServices' key in your Info.plist for the Debug/"
125-
<< "Profile configurations.\n\n"
124+
<< "Profile configurations. "
126125
<< "For more information, see "
127126
// Update link to a specific header as needed.
128-
<< "https://flutter.dev/docs/development/add-to-app/ios/project-setup"
129-
<< "\n▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒";
127+
<< "https://flutter.dev/docs/development/add-to-app/ios/project-setup";
130128
}
131129
} else {
132130
DNSServiceSetDispatchQueue(_dnsServiceRef, dispatch_get_main_queue());

0 commit comments

Comments
 (0)