I have the latest version of visual studio 2022 (17.11.3 and before I had an older version 17.9.6, but it didn’t work either) and today I have updated the XCode to the latest (16.0) version for iOS 18.0.
But when it finishes installing when trying to pair with the mac I get the following error: Object reference not set as an instance of an object.
I have tried to delete both the XMA folder from the mac and my PC (Windows), but it still does not work for me.
I even get the same error when I use another pc to connect to the mac.
Restarting Visual Studio, My computer or my Mac does not help.
Now I can’t connect to my Mac does someone else have it?
2
Here is a screenshot of the “hack” I mentioned in the comment. It was mentioned in GitHub/Microsoft developer threads that a fix was previously released. Unsure whether it was reintroduced again. But one should remove this from the Registry, once the error is resolved.
6
This is a temporary solution. The problem is actually caused by the service located at https://software.xamarin.com/service/products returning with a 403 error code. You can undo the change in the registry when this service is opened. Feedback has been forwarded to the Microsoft team, details are at https://developercommunity.visualstudio.com/t/pair-to-mac-Mono-Validation-is-not-worki/10746931
user27359964 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
It was broken with 403 yesterday. It’s 503 today. Please upvote the following as it’s insane that Microsoft can’t fix this without editing the registry. Surely, VS can ignore the error if valid tools are installed on the Mac. And why are we dependant on a single App Service that no one keeps an eye on?
https://developercommunity.visualstudio.com/t/Pair-to-Mac-should-not-fail-if-the-Xamar/10746659
Unfortunately, the registry hack (disabling Mono tooling check) doesn’t help if you don’t already have compatible tooling installed on the Mac.
In the end I downgraded Xcode to 15.4 and it worked.
Pavel Svec is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
same situation since yesterday: visual studio on windows, xcode and mac update to the last version. I can’t use the simulator (No simulators (Xcode mismatch). I can´t compile and build to deploy new version needed… please help…
Jorge Valero is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.