Home > Mobile >  Visual Studio issue pairing to Mac
Visual Studio issue pairing to Mac

Time:12-06

Using latest Visual Studio for Windows 17.4.2, connecting to my Mac having Xcode 14.1, I get this message when Pairing to Mac:

The Xcode version installed on the Mac (14.1) is not compatible with this version of Visual Studio. This may cause unexpected warnings or errors when building and deploying iOS projects. Please install Xcode '13.3'. To download a specific version of Xcode, visit: https://developer.apple.com/downloads.

If I continue, no iOS simulators are available for debugging. And when trying to debug on my iPhone connected by wire the the Mac, I get a compiler error:

fatal error: 'CHIP/CHIP.h' file not found

I have search the web. Only old articles appear from September. I have tried XCode 14.0 still, same issues.

Last resort was downloading XCode 13.4.1 that seems ton works. I can start simulation... Finally!

Is it really true that XCode 14 is yet not supported by Visual Studio?

CodePudding user response:

Please be noted that the final builds of Xcode 14.1 are ready for you to test on Xamarin, but they are not included in IDE (it is not supported yet in MAUI), you have to install the pkg files of Xamarin.iOS and Xamarin.Mac to your Mac,refer to Xcode 14.1 Support · Issue #16659 · xamarin/xamarin-macios.

Is it really true that XCode 14 is yet not supported by Visual Studio?

Xcode 14 is supported, and it is recommended that you use Xcode 14.0 for now. The Xcode version in AppStore is Xcode14.1 currently, you can download Xcode 14.0 from the downloads page in the Apple Developer Portal.

  • Related