question

MohammadRadawan-7969 avatar image
0 Votes"
MohammadRadawan-7969 asked LeonLu-MSFT commented

Visual Studio 2019 for Mac Simulators Issue

I'm new to coding in Mac, I've installed VS2019 on BigSur and I've already installed Xcode. The iOS simulators are working fine on Xcode, however they are not in VS. I've reinstalled visual studio after completely uninstalling it using the script from Microsoft, yet the same issue remains. Strangely, when I connected my Mac to my Windows machine the simulators are all there and working like a charm on Windows!!!
Here is what I've tried so far:
1- Reinstalled VS (Couldn't reinstall Xcode because my internet connection is so poor and I don't feel it matters)
2- Ran VS, Xcode, then reopened VS.
3- Changed the target framework in the 'info.plist' file.
Nothing works
118842-screen-shot-2021-07-29-at-030919.png
118843-screen-shot-2021-07-29-at-030957.png
118832-screen-shot-2021-07-29-at-031250.png


dotnet-xamarin
· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I test it with XCode 12.5.1,
macOS big Sur 11.5.1,
VS for mac community 8.9.10,
minimum system version:7.0 in 'info.plist' file.

II could see the simulator like following screenshot.

118949-1.jpg

Please close your VS and XCode, use finder to open your project, delete the bin and obj folder, then re-open your project by VS for Mac.

1 Vote 1 ·
1.jpg (117.2 KiB)

Xcode: 12.5.1
Visual Studio: 8.10.6
BigSur: 11.4
Didn't work, it's driving me crazy!!!!

0 Votes 0 ·
LeonLu-MSFT avatar image LeonLu-MSFT MohammadRadawan-7969 ·

You can try to this workaround by creating a new solution configuration DebugSim with iPhoneSimulator like this thread: https://docs.microsoft.com/en-us/answers/questions/308013/visual-studio-mac-configuration-iphone-simulator-i.html

1 Vote 1 ·
Show more comments

0 Answers