Xamarin.forms iOS 模拟器未启动 [英] Xamarin.forms iOS simulator not launching

查看:31
本文介绍了Xamarin.forms iOS 模拟器未启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将我的 Windows 笔记本电脑连接到 2011 年末的 Macbook pro 以开发 xamarin.forms ios 应用程序.我在 Widows 机器上的 Visual Studio 版本是 16.7.2 和 xamarin.ios 版本 13.20.2.2.我在 Macbook 上的 xamarin.ios 版本是 13.14.1.39,Xcode 版本是 11.3.1(11C504).我面临的问题是我无法在 windows 和 mac 上运行 ios 模拟器.我可以在 Mac 上手动打开模拟器.但是当我们针对模拟器运行应用程序时,它会成功构建,但没有出现模拟器.Visual Studio 和 Xcode 上的模拟器下拉菜单显示了大量带有 ios 13.3 的模拟器.应该是什么问题?我已经选中和取消选中 "Remote Simulator to windows" 并且没有任何变化.任何帮助表示赞赏.

I have connected my windows laptop to Macbook pro late 2011 for developing xamarin.forms ios applications. My visual studio version on Widows machine is 16.7.2 with xamarin.ios version 13.20.2.2. My xamarin.ios version on Macbook is 13.14.1.39 and Xcode version is 11.3.1(11C504). The problem I am facing is I cannot run ios simulator on both windows and mac. I can manually open simulator on Mac. But when we run application against simulator it will build successful , but no simulator shows up. The simulator drop downs on both visual studio and Xcode shows plenty of simulators with ios 13.3. What should be the problem? I have checked and unchecked "Remote simulator to windows" and no change. Any help is appreciated.

推荐答案

我遇到了完全相同的问题.就我而言,它有助于:

I had an exact same problem. In my case, it helped to:

  1. 在 Visual Studio 中,右键单击 iOS 项目 ->属性 ->iOS 捆绑签名
  2. 用于调试 |iPhoneSimulator 配置,将 Bundle Signing 方案更改为Automatic Provisioning"
  3. 在 Visual Studio 中单击全部保存"按钮
  4. 右键单击 iOS 项目并选择卸载项目"
  5. 选择卸载的 iOS 项目以查看 *.csproj 文件内容
  6. 现在它应该可以工作了.

    Now it should be working.

    这篇关于Xamarin.forms iOS 模拟器未启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆