question

PatrickRyder avatar image
0 Votes"
PatrickRyder asked LeonLu-MSFT commented

Why can't my completely new install of VS + Xamarin + XCode find any simulators?

A couple of weeks back, my fully working Visual Studio/Xamarin dev environment suddenly decided it couldn't find any simulators. They appear in the run-targets list but when I try to run I get the error shown in 'Screenshot 1.png'. When I stop debugging I then get 'Screenshot 2.png'.

I ended up wiping XCode on the Mac, clearing any other Xamarin locations I could find, uninstalling the whole of Visual Studio on the PC and reinstalling everything fresh. And I still get the same error.

There seems to be a dearth of recent posts on the internet about anything similar to this so I have no idea how to fix it.

More generally, I have a pet hate of software that stores things in spooky, hidden places, thus making fresh installs impossible unless you know the system inside-out. One of the things I love about the iOS way of doing things is that deleting an app really is a case of just deleting it. I know it creates other problems, but this containerised way of doing things has to be the future. Right now, I'd love simply to be able to restore my whole development environment from my last known working container image!

Rant over. Any help or advice would be most welcome as this is a complete show-stopper right now.

  • Patrick

97668-screenshot-1.png97669-screenshot-2.png

dotnet-xamarin
screenshot-1.png (5.7 KiB)
screenshot-2.png (10.1 KiB)
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.

1 Answer

LeonLu-MSFT avatar image
1 Vote"
LeonLu-MSFT answered LeonLu-MSFT commented

Hello,​

Welcome to our Microsoft Q&A platform!

This issue is a known issue, it was reported a Problem tool in VS 2019 16.9.4, here is thread.

https://developercommunity2.visualstudio.com/t/VS-2019-1694-cannot-connect-to-iOS-Sim/1412563

I find a workaround in this thread , you can refer to it before this issue is solved.

https://developercommunity2.visualstudio.com/t/VS-2019-1694-cannot-connect-to-iOS-Sim/1412563#T-N1422248

Best Regards,

Leon Lu



If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 2
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.

@LeonLu-MSFT

The workaround works (thank you!) but I now experience random drops in the connection to the simulator on the Mac as the application is starting up. My own code has not changed (because I haven't been able to work on it) so I am hoping this doesn't happen too often.

  • Patrick

0 Votes 0 ·

This issue is related to VS, you can report this problem in VS .

98503-image.png


1 Vote 1 ·
image.png (29.1 KiB)