简体   繁体   English

无法使用Xamarin Forms连接到iOs模拟器

[英]Unable to connect to iOs simulator using Xamarin Forms

Im having a problem when debugging my Xamarin.Forms app using the iOs Simulator on my Windows 10 laptop... 我在Windows 10笔记本电脑上使用iOs模拟器调试Xamarin.Forms应用时遇到问题...

On my windows machine I am running VS2017 latest version, on the mac I am running Visual Studio Community 2017 and installed the Alpha updates. 在Windows机器上,我正在运行VS2017最新版本,在Mac上,我正在运行Visual Studio Community 2017并安装了Alpha更新。

Then I downgraded the Xamarin.iOs to stable version (only downgraded xamarin.ios) to fix some compile errors... 然后我将Xamarin.iOs降级到稳定版本(仅降级了xamarin.ios)以修复一些编译错误...

In the end it compiles > It starts the simulator > It displays: "Updating(0%)".. 最后,编译>启动模拟器>显示:“ Updating(0%)”。

This is where I am stuck.. hope anyone knows a solution 这就是我被困住的地方..希望任何人都知道解决方案

Are you trying to use the iOS simulator on your Windows laptop? 您是否要在Windows笔记本电脑上使用iOS模拟器? if so, the iOS simulator requires VS/msdn Enterprise subscription. 如果是这样,则iOS模拟器需要VS / msdn Enterprise订阅。

Either way double check that the iOS version matches on your simulator and iOS project build settings,make sure your macOS and xcode is updated. 无论哪种方式,请仔细检查iOS版本是否与您的模拟器和iOS项目构建设置相匹配,并确保macOS和xcode已更新。

I've had problems in the past with debugging on my macbook/simulator from windows/vs, and updating the macbook/xcode usually works. 过去,我在通过Windows / vs在Macbook /模拟器上进行调试时遇到了问题,并且更新Macbook / xcode通常是可行的。

Also, try having the simulator already open before debugging. 另外,在调试之前,请尝试打开模拟器。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM