xamarin 无法从Windows上的Visual Studio 2022获取调试目标中的iOS模拟器列表

xxls0lw8  于 2022-12-07  发布在  Windows
关注(0)|答案(2)|浏览(164)

I have the problem that I'm not able to see the list of iOS simulators in Visual Studio Debug Target on my Windows PC
I've just made a total upgrade of my Xamarin development environment including now latest VS 2022, latest OS on my Mac, latest XCode version 14 and latest version of Xamarin on my PC and Mac. I have successfully paired to my Mac from Visual Studio.
On my Mac I've just tried to refresh the list of Debug devices as described in Microsoft Docs:
Delete your ~/Library/Developer/CoreSimulator/Devices folder. Run killall -9 com.apple.CoreSimulator.CoreSimulatorService. Run xcrun simctl list devices.
.. but still no result. All I can select in my Debug Target is Local Device, Remote Device and Simulator.
Before this upgrade I had no problem seeing all the simulators.
I will really appreciate if anybody have some good ideas of what I can do to solve this.
Following is my list of installed components from VS About box:
Xamarin 17.3.0.296 (d17-3@a0ff24b) Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer 17.3.0.208 (remotes/origin/d17-3@e4f67afef) Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin Templates 17.2.28 (9b3d244) Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
Xamarin.iOS and Xamarin.Mac SDK 15.12.0.2 (87f98a75e) Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support

sg3maiej

sg3maiej1#

请注意,Xamarin.iOS.NET MAUI尚不支持XCode 14,您需要将Xcode版本降级到13.4.1,并可从Apple开发者门户的downloads页面下载。有关更多信息,请参阅https://github.com/xamarin/xamarin-macios/issues/15954

更新日期:

目前支持Xcode 14,如果有任何其他问题,请继续回发到the GitHub。谢谢!

ajsxfq5m

ajsxfq5m2#

即使在安装VS 17. 3. 6之后,我也有同样的问题。我没有iOS模拟器的列表,我得到一个警告,这个版本的Xcode不受支持。

相关问题