새로운 맥에서 ios 실기기 빌드하는데 해당 에러가 뜨면서 앱이 하얀화면에서 멈춰있었다.
[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
Connecting to the VM Service is taking longer than expected...
Still attempting to connect to the VM Service...
If you do NOT see the Flutter application running, it might have crashed. The device logs (e.g. from adb or XCode) might have more details.
If you do see the Flutter application running on the device, try re-running with --host-vmservice-port to use a specific port known to be available.
로그는 이정도
해결방법은 "시스템 환경설정" 에서
그리고 다시 빌드를 하면 잘 된다
'Frontend > Flutter' 카테고리의 다른 글
[Flutter] flutter 3.0 업데이트 후 iOS 빌드 에러 (17) | 2022.05.18 |
---|---|
[Flutter] Avoid 'print' calls in production code. 의 이유 (8) | 2022.05.09 |
[Flutter] xcode build parse issue module not found (8) | 2022.02.04 |
[Flutter] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly" (1025) | 2022.01.12 |
[Flutter] VScode 에서 region 을 이용하여 코드 folding 하기 (441) | 2021.12.30 |