Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No Simulator runtime version from iPhoneSimulator

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.

like image 676
Rubayat26 Avatar asked Feb 03 '26 13:02

Rubayat26


1 Answers

This is because the necessary iOS platform support isn't installed on the macOS machine.

You can fix it by:

  1. Open Xcode
  2. Open Xcode settings => Components
  3. Make sure the platform component for the latest iOS version is installed (iOS 18.1 in this case, in Xcode 16.1):

enter image description here

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

like image 188
Liyun Zhang - MSFT Avatar answered Feb 09 '26 01:02

Liyun Zhang - MSFT