Flutter_local network broadcast

2023-05-16  本文已影响0人  QYCD

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.

上一篇 下一篇

猜你喜欢

热点阅读