Search code examples
iosxamarin.formsios-simulatorvisual-studio-2022

Visual studio 2022 Xamarin Remoted iOS simulator does not connect and shows black screen after VS update 17.1.3


I have a Xamarin.Forms project running on iOS simulators. I recently updated Visual studio 2022 to 17.1.3. After upgrade whenever I try to run the app on any iOS simulator, the simulator gets stuck at Blank screen like below. And it does not show anything on screen.

enter image description here

When I checked in the paired Mac that I use to build the project, there the iOS simulator window shows as blank too, and the title shows as iPhone xxx - External display.

If anyone has encountered this before and solved it, please help.


Solution

  • It's very annoying, but Microsoft wrote in the release notes:

    Deploying an iOS app with Visual Studio on 2022 and Apple Xcode 13.3 results in a Remote iOS simulator window with a blank/black screen. Workaround: Disable the "Remote Simulator to Windows" check box in the iOS Settings under the Tools - Options menu. The iOS app should deploy correctly on the macOS host.

    Looks like it's temporarily broken and they're working on it.