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?
1条答案
按热度按时间q7solyqu1#
请注意,
Xcode 14.1
的最终版本已准备好供您在Xamarin
上测试,但它们未包含在IDE中(MAUI中尚不支持),您必须将Xamarin.iOS和Xamarin.Mac的pkg文件安装到您的Mac上,请参阅Xcode 14.1 Support · Issue #16659 · xamarin/xamarin-macios。Visual Studio还不支持XCode 14,这是真的吗?
支持
Xcode 14
,建议您暂时使用Xcode 14.0
,目前AppStore中的Xcode版本为Xcode14.1,您可以从Apple Developer Portal中的downloads page下载Xcode 14.0。