I am implementing a mobile app using Flutter. When I try to run the app on iOS real device from Xcode, I get this error:
[VERBOSE-2:FlutterObservatoryPublisher.mm(115)] Failed to register observatory port with mDNS.
The app runs fine as long as the device is connected to the Mac and running from Xcode. But when I try to open it from the device Home Screen directly, it crashes.
This issue happens on iOS 14.0 and higher. It works fine on iOS 13.x.
add this property info.plist
<key>NSBonjourServices</key>
<array>
<string>_dartobservatory._tcp</string>
</array>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With