简体   繁体   English

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

[英]Cannot get list of iOS simulators in Debug Target from Visual Studio 2022 on Windows

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我的问题是在我的 Windows PC 上的 Visual Studio 调试目标中看不到 iOS 模拟器的列表

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.我刚刚对我的 Xamarin 开发环境进行了全面升级,包括现在最新的 VS 2022、Mac 上的最新操作系统、最新的 XCode 版本 14 和最新版本的 Z1B4419ABC43A358B4398Z 上的我的 PC 和 Mac。 I have successfully paired to my Mac from Visual Studio.我已从 Visual Studio 成功配对到我的 Mac。

On my Mac I've just tried to refresh the list of Debug devices as described in Microsoft Docs:在我的 Mac 上,我刚刚尝试刷新 Microsoft Docs 中所述的调试设备列表:

Delete your ~/Library/Developer/CoreSimulator/Devices folder.删除 ~/Library/Developer/CoreSimulator/Devices 文件夹。 Run killall -9 com.apple.CoreSimulator.CoreSimulatorService.运行 killall -9 com.apple.CoreSimulator.CoreSimulatorService。 Run xcrun simctl list devices.运行 xcrun simctl list devices。

.. but still no result. ..但仍然没有结果。 All I can select in my Debug Target is Local Device, Remote Device and Simulator.我的调试目标中的 select 只能是本地设备、远程设备和模拟器。

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:以下是我从 VS About 框中安装的组件列表:

Xamarin 17.3.0.296 (d17-3@a0ff24b) Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android. 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 Designer 17.3.0.208 (remotes/origin/d17-3@e4f67afef) Visual Studio 扩展以在 Visual Studio 中启用 Xamarin Designer 工具。

Xamarin Templates 17.2.28 (9b3d244) Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms. 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 Xamarin.iOS and Xamarin.Mac SDK 15.12.0.2 (87f98a75e) Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support

Please be noted that XCode 14 is not yet supported in Xamarin.iOS or .NET MAUI , you need downgrade your Xcode version to 13.4.1 and could download it from the downloads page in the Apple Developer Portal. Please be noted that XCode 14 is not yet supported in Xamarin.iOS or .NET MAUI , you need downgrade your Xcode version to 13.4.1 and could download it from the downloads page in the Apple Developer Portal. For more information, you can refer to https://github.com/xamarin/xamarin-macios/issues/15954更多信息可以参考https://github.com/xamarin/xamarin-macios/issues/15954

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 Visual Studio for MacOS 中,如何让 iOS 模拟器显示在下拉列表中? - In Visual Studio for MacOS, how do I get the iOS simulators to show in dropdown list? 无法在iOS 11模拟器上获取组文件夹 - Cannot get groups folder on iOS 11 simulators 如何获取可用 ios 模拟器的列表? - how to get list of available ios simulators? iOS 模拟器在将 xcode 更新到版本 14 后在 Visual Studio 中不可用 - iOS simulators are not available in visual studio after updating xcode to version 14 Visual Studio 2017(Xamarin)未显示iPhone模拟器列表 - Visual Studio 2017 (Xamarin) not showing list of iPhone Simulators 图标更改未部署到 ios 设备/.NET Maui Visual Studio 2022 17.4.2 on Windows 10 - Icon changes not deployed to the ios device / .NET Maui Visual Studio 2022 17.4.2 on Windows 10 iOS模拟器未在Titanium Studio中显示 - iOS simulators not showing in Titanium Studio Xamarin.iOS 在 Visual Studio 2019、2022 中找不到配置文件 - Xamarin.iOS not found provision profiles in Visual Studio 2019, 2022 visual studio 2022在mac上安装monoframework 6.12.0.174,然后iOS模拟器失败 - visual studio 2022 installs monoframework 6.12.0.174 on mac, then iOS Simulator fails 没有地方在 Visual Studio 2022 和 MAUI 中指定 iOS 捆绑签名和预配 - No place to specify iOS Bundle Signing and Provisioning in Visual Studio 2022 and MAUI
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM