Unable to get list of installed Simulator runtimes
Asked Answered
E

4

34

I am using macOS and I am installing flutter. When I run to 'flutter doctor' I take a error like

    Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.5, on macOS 13.6 22G120 darwin-arm64, locale
    tr-TR)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[!] Xcode - develop for iOS and macOS (Xcode 15.0)
    ✗ Unable to get list of installed Simulator runtimes.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] Connected device (2 available)
[✓] Network resources

I don't know why. What is the source of this error?

Extensile answered 22/9, 2023 at 18:51 Comment(3)
It might be helpful if you include your operating systemInexecution
I am using macOS. Thanks.Guilt
Sorry, I meant the version of macOS. Since you're using XCode, it's assumed you're on macOS.Inexecution
S
66

I had the same issue when running updates to my flutter install. My problem turned out to be that my iOS simulator seemed to have lost all the iOS runtimes. By re-installing them my issue was resolved. This might help you, try run this via the terminal:

xcodebuild -downloadPlatform iOS
Strobila answered 24/9, 2023 at 7:25 Comment(2)
Yes it works. Because I deleted the iOS simulator file before.Limpkin
This helped me as well.Labors
P
11

The above answer didn't help, but this did:

Xcode -> Window -> Devices and Simulators -> Simulators -> + -> OS Version -> Download more simulator runtimes

There, first I deleted the existing iOS 17 files, and then downloaded them again.

Phillida answered 3/10, 2023 at 9:58 Comment(0)
A
5

I was facing the same issue. It can be easily fixed by downloading the iOS simulations on Xcode.

Follow the steps below:

  • Open Xcode on your system (mine is a Mac) and click Settings...

enter image description here

  • Go to Platforms tab above and verify if you have iOS installed. If it is not installed, then click the Get button next to it and it will be downloaded.

enter image description here

  • In order to verify, open Simulator as shown in the screenshot below.

enter image description here

  • You should now be having iOS here.

enter image description here

This will fix the issue.

Actinic answered 29/12, 2023 at 4:17 Comment(1)
This is exactly the same answer given above months previous.Zacharie
S
4

Open Xcode and go to the Platforms tab in Settings. There should be buttons to download any missing simulators.

Sylvester answered 9/10, 2023 at 5:32 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.