[英]Xamarin Visual Studio ios simulator not working
We recently acquired mobile solution that contains an ios and android project.我们最近收购了包含 ios 和 android 项目的移动解决方案。 Android project runs fine.
Android 项目运行良好。 When i run the ios project i get error stating
当我运行 ios 项目时,我收到错误说明
My environment is a windows laptop and a macbook pro running visual studio from windows.我的环境是一台 Windows 笔记本电脑和一台从 Windows 运行 Visual Studio 的 macbook pro。
In the videos i watched as soon as mac was paired then more options appeared besides just simulator.在 mac 配对后我立即观看的视频中,除了模拟器之外还出现了更多选项。 (ipad, tvos, etc)
(ipad、tvos 等)
One question is when i registered my device i used the UUID from the macbook and not UUID of simulator.一个问题是,当我注册我的设备时,我使用的是 macbook 的 UUID 而不是模拟器的 UUID。 Could not get straight answer for this.
无法得到直接的答案。
To be clear i am just trying to run the simulator and not a remote device.需要明确的是,我只是想运行模拟器而不是远程设备。
Honestly i just want to be able to test the ios application.老实说,我只是想能够测试 ios 应用程序。 It should not be this many steps to just run a test.
仅仅运行一个测试不应该是这么多步骤。 Is there a more simple way to test or am i on the right track?
有没有更简单的测试方法,或者我是否在正确的轨道上?
Updating visual studio on my windows machine did the trick.在我的 Windows 机器上更新 Visual Studio 就成功了。 I really wish the error would give me some kind of warning that would lead me to the conclusion that i needed to update visual studio.
我真的希望这个错误能给我一些警告,让我得出我需要更新 Visual Studio 的结论。 That would have saved me many hours.
那会节省我很多时间。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.