Rafael
Rafael

Reputation: 2039

How to change iOS simulator on Visual Studio for Mac

How can I change default iOS simulator on Visual Studio for Mac?

When I pair my MacBook with PC, I have a list of iOS simulators available in Visual Studio 2019 ( on Windows). But when I work directly on MacBook, and run Visual Studio for Mac, there's only one (grayed) simulator available and I have no idea how to change it. Checked Solution options, Project settings. But there's no option to change it.

It looks like that now:

default-ios-simulator

How can I fix this issue?


UPDATE #1

Probably this information could help. Some time ago my XCode and Visual Studio were automatically updated to 12.3 and I start getting errors related to missing developer profile. I uninstalled XCode 12.3 and Visual Studio and installed previous versions. Now XCode version is 12.2 and the error message related to the developer profile is gone. Maybe it somehow connected to the issue I have.


UPDATE #2

I've updated MacOS to version Big Sur Also I have uninstalled XCode and installed again version 12.3 And I've uninstalled Visual Studio for Mac and installed it again.

The problem still persists.


UPDATE #3

Below, there is information about versions:

Upvotes: 3

Views: 6341

Answers (1)

Wendy Zang - MSFT
Wendy Zang - MSFT

Reputation: 10978

I reproduce this issue on my mac. You could follow the stpes below.

  1. Open the XCode. Click Window tab to open the Device and Simulators.

  2. Click Simulators on left side. Then Click + at the bottom left to create a new eimulator.

  3. After that close and restart the VS.

And now, you could use the ios simulators.

Upvotes: 7

Related Questions