[VERBOSE-2:FlutterObservatoryPublisher.mm(101)] Failed to register observatory port with mDNS with error -65555.
[VERBOSE-2:FlutterObservatoryPublisher.mm(103)] 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. For more information, see https://flutter.dev/docs/development/add-to-app/ios/project-setup#local-network-privacy-permissions
이런 오류가 뜰 수 있다.
info.plist에 다음오가 같은 내용을 추가한다.
<key>NSBonjourServices</key>
<array>
<string>_dartobservatory._tcp</string>
</array>
'Programming > flutter' 카테고리의 다른 글
[flutter] agora simulator 연동 문제 (0) | 2021.12.21 |
---|---|
[flutter] Invalid plugin specification: EXCLUDED_ARCHS[sdk=iphonesimulator*]=arm64 i386 오류 발생 (0) | 2021.08.27 |
[flutter] 구글 드라이브를 이용하여 이미지 호스팅 방법 (0) | 2021.08.25 |
[flutter] icloud에서 Simulator 빌드시 오류사항 (0) | 2021.08.24 |
[flutter] state management - GetX (0) | 2021.07.07 |