When I am in a Xamarin Forms project, there is no problem connecting to the Mac.
When I open a MAUI project, it doesn’t connect.
I was behind by one update, but yesterday I got a message saying Visual Studio wouldn’t work with XCode 14.1 and to install XCode 0.0.
I updated Visual Studio, and now it still fails to connect. But, now the error blows by and I don’t see what it is. I think it’s the same thing.
Visual Studio 2022 17.4.4
XCode 14.1
MAC OS Ventura 13.0.1
Here’s the output display:
Initializing IDB environment...
Server Settings:
- mlaunch path:
- Xcode version: 14.1
- Xcode path: /Applications/Xcode.app
Starting disconnection from 10.8.11.30...
Validating Mac operating system version compatibility...
Starting disconnection from 10.8.11.30...
The connection to '10.8.11.30' has been finished
I tried updating Visual Studio and thought that might fix things, but it basically got worse, because I can’t confirm the error message that is causing the failure.
2
Answers
Microsoft released Visual Studio 2022 Professional 17.5 Preview 6 which fixed this issue. Now it connects to the Mac, but it drops the connection several times a day. So, that's a baby step in the right direction.
Here is the issue on Microsoft's website.
That could be something with Visual Studio for Mac. You could update the Visual Studio for Mac first. The final builds of Xcode 14.1 are ready for you to test both on Xamarin and MAUI now.
You could also refer to Xcode 14.1 Support · Issue #16659 · xamarin/xamarin-macios (github.com) and install the pkg files of Xamarin.iOS and Xamarin.Mac to your Mac if you don’t want to update your Visual Studio for Mac.
Xamarin.iOS 16.1.1.27
Xamarin.Mac 9.0.0.27.pkg