I’m trying to run an iOS project in Visual Studio for Mac Community 8.10.5.
At the top of the Visual Studio window, next to the iOS project name, I have selected Debug | iPhoneSimulator
. The menu to the right of that displays a Simulator
heading, and under that, Lower the ‘Deployment Target’ to see older simulators or check your Apple SDK path
.
In the iOS project’s Info.plist
file, the Minimum system version is set to 7.0
.
I have checked the Apple SDK path under Preferences\SDK Locations\Apple, the Location is set to /Applications/Xcode.app
, and the message Xcode 12.5.1 found at the system location (xcode-select)
appears above that, preceded by a green tick.
I opened Xcode and looked at the listed Simulators, and there are ten iPhone simulators listed starting with "iPhone 8" and finishing at "iPhone 12 mini".
I tried adding a new simulator in Xcode with Model set to iPhone 11, closed Xcode and Visual Studio and restarted the computer. Opening Visual Studio again, there are still no iPhone simulators listed.
When I first installed Visual Studio for Mac, it did display iPhone simulators. I think they stopped being listed after one of the Visual Studio updates some time ago, and I haven’t been able to get them to reappear since.