Fehler beim Starten der Flutter-App im iOS-SimulatorIOS

Programmierung für iOS
Guest
 Fehler beim Starten der Flutter-App im iOS-Simulator

Post by Guest »

Ich habe Probleme beim Starten einer Flutter-App im iOS-Simulator. Das Problem scheint mit der Localhost-Konnektivität oder ähnlichem zu tun zu haben, wie aus der folgenden Fehlerausgabe hervorgeht, aber ich kann nicht finden, wie ich es beheben kann.
Ich verwende MacOS Catalina Version 10.15.6 (19G73).
iOS-Simulatorversion Version 11.6 (921.9.1).
VSCode ist meine IDE.
Die App startet und läuft einwandfrei auf dem Gegenstück zum Android-Simulator.
Unten ist die Fehlerausgabe vom VSCode-Terminal:

Code: Select all

Launching lib/main.dart on iPhone SE (2nd generation) in debug mode...
Running Xcode build...
└─Compiling, linking and signing...                         6.7s
Xcode build done.                                           16.7s
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.
Exception attempting to connect to the VM Service: SocketException: OS Error: Connection refused, errno = 61, address = 127.0.0.1, port = 51838
This was attempt #50. Will retry in 0:00:01.600000.
Exception attempting to connect to the VM Service: SocketException: OS Error: Connection refused, errno = 61, address = 127.0.0.1, port = 51970
This was attempt #100. Will retry in 0:00:01.600000.
Exception attempting to connect to the VM Service: SocketException: OS Error: Connection refused, errno = 61, address = 127.0.0.1, port = 52119
This was attempt #150. Will retry in 0:00:01.600000.
Exception attempting to connect to the VM Service: SocketException: OS Error: Connection refused, errno = 61, address = 127.0.0.1, port = 52347
This was attempt #200. Will retry in 0:00:01.600000.
^C%

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post