Flutter can't connect to iOS simulator
I created first flutter app on Mac.
but I can't build it on iOS simulator. when I build it; an iOS simulator will run. and wait.
vs Code say to me;
-Cannot launch without an active device
-Failed to launch iOS Simulator: Error: Emulator didn't connect within 60 seconds
IDE : vs Code
my Macbook : MacBook Pro 2011 early
macOs version : high Sierra
flutter version : 13.8
xcode version : 9.4
Solution 1:
Open Xcode and go to preferences - > locations - > Command Line Tools and select Xcode 10 or above
Solution 2:
I have the same problem. Flutter doesn't see any simulators. Flutter required now Xcode 10.2 minimum. You can't run 10.2 on high sierra, therefore use flatter.
Solution 3:
Which device do you use as a Simulator? From the docs:
Make sure your simulator is using a 64-bit device (iPhone 5s or later) by checking the settings in the simulator’s Hardware > Device menu.
Run flutter doctor
. Are there any errors?