flutterxcodesimulator

I have the latest version of Xcode but I my simulator is not the latest version 17.2. How can I update my simulator?


iOS 17.2 is not installed. To download and install the platform, open Xcode, select Xcode > Settings > Platforms, and click the GET button for the required platform.

Failed to build iOS app
Uncategorized (Xcode): Unable to find a destination matching the provided destination specifier:
{ id:68701885-51DD-4C52-8CD6-240BA3CE89A4 }

    Ineligible destinations for the "Runner" scheme:
        { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device, error:iOS 17.2 is not installed. To use with Xcode, first download and install the platform }

I have downloaded leatest verion of Xcode.


Solution

  • Open Xcode, then enter its Settings:

    enter image description here

    Depending on the Xcode version, you might find the iOS you wish to install under 'Platforms' tab, or under 'Component' tab. See screenshots below for more:

    Xcode <16 Xcode >=16
    Screenshot for 'Platforms' tab Screenshot for 'Component' tab

    If you for some reason don't see iOS 17.2, but have the latest Xcode (check the requirements here or in the screenshot below), you can try to download and install the iOS 17.2 Simulator Runtime manually:

    1. Download iOS 17.2 Simulator Runtime DMG from the official Apple website https://download.developer.apple.com/Developer_Tools/iOS_17.2_Simulator_Runtime/iOS_17.2_Simulator_Runtime.dmg
    2. Install it to Xcode with xcrun simctl runtime add "~/Downloads/iOS_17.2_Simulator_Runtime.dmg"

    enter image description here