Welcome to MLink Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
315 views
in Technique[技术] by (71.8m points)

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

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.

  • Current XCode version: 12.2 (12B45b)
  • Visual Studio for Mac version: 8.8.4 (build 30)
  • Operating system: macOS Catalina 10.15.7

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to MLink Developer Q&A Community for programmer and developer-Open, Learning and Share
...