skip to Main Content

enter image description hereWhen i try to run my app through XCode iPhone simulator i get an error

"No simulator runtime version from [<DVTBuildVersion 21C62>, <DVTBuildVersion 21E213>, <DVTBuildVersion 21F79>] available to use with iphonesimulator SDK version <DVTBuildVersion 22A3362>"

I tried to update visual studio, xCode, restarting both machines, the error still remains.

I am on visual studio 2022, my project is using .net 8, and I am using XCode 16 for the simulator.

2

Answers


  1. Easy option is to launch Xcode and download the new simulator.

    For other options see:

    https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes

    Login or Signup to reply.
  2. This is because the necessary iOS platform support isn’t installed on the macOS machine. You can fix it by:

    open Xcode, go to the menu "Xcode (top left) -> Settings -> Components", and make sure the platform component for the latest iOS version is installed (iOS 18 in this case, in Xcode 16.0):

    enter image description here

    For more information, you can check this github wiki: The build fails with "No simulator runtime version from …".

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search