简体   繁体   English

Xamarin Visual Studio ios 模拟器不工作

[英]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。

  1. I can pair to mac just fine我可以很好地与 mac 配对
  2. I am using automatic provisioning which appears to be correct since my team shows up in the team dropdown.我正在使用自动配置,这似乎是正确的,因为我的团队出现在团队下拉列表中。
  3. I feel like i did the provisioning correct because team would not show up in dropdown if not.我觉得我的配置是正确的,因为如果没有,团队就不会出现在下拉列表中。
  4. I have latest xcode installed on mac我在 mac 上安装了最新的 xcode
  5. I verified simulator runs fine on mac by starting through xcode我通过 xcode 验证模拟器在 mac 上运行良好

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.

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