美文网首页
Flutter_local network broadcast

Flutter_local network broadcast

作者: QYCD | 来源:发表于2023-05-16 10:39 被阅读0次

    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.

    相关文章

      网友评论

          本文标题:Flutter_local network broadcast

          本文链接:https://www.haomeiwen.com/subject/ksnmsdtx.html