Flutter新建项目运行时报错:
Failed to register observatory port with mDNS with error -65555.
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 '_dartobservatory._tcp' value to the 'NSBonjourServices' key in your Info.plist for the Debug/Profile configurations.
解决:
Local Network Privacy Permissions
或
大致算翻译了下:
Flutter_local network broadcast in apps need to be declared in the app's Info.plist.
网友评论