Search code examples
c#macosmaui

Visual Studio can't connect to MacOS Sequoia


I have just updated my iMac to Sequoia and consequently Xcode to the new version that also contains iOS 18.

After this update, neither Visual Studio for Mac nor Visual Studio on Windows can't see the list of iOS simulators.

enter image description here

There is no update for Visual Studio; Visual Studio Code is not working for MAUI as usual. With Visual Studio for Mac I can run the application for macOS and Android but not for iOS (and the Generic Simulator doesn't do anything.

From Visual Studio, when I try to connect my iMac, I get a different error.

Object reference not set to an instance of an object.

enter image description here

I opened Xcode and agreed on all the licences. It is getting difficult and difficult to work with MAUI...

Update

Today, Microsoft released the Visual Studio 17.11.4. This version can connect to the iMac but I can't see the list of simulators for iOS.

Do you have to update anything in the iMac?


Solution

  • if you have the following system environment, there is a workaround:

    • macOS Sequoia
    • Xcode 16.0
    • Visual Studio V 17.11.4

    Then you just need to install the Xcode beta version 16.0 from June (Simulator 16.0 - 1033) and the coresponding command line tool (16A5171c)

    https://github.com/xamarin/xamarin-macios/issues/20802