Xcode 11 没有可用的设备条件 [英] Xcode 11 No Device Conditions Available

查看:34
本文介绍了Xcode 11 没有可用的设备条件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在我的 Xcode 11 中添加

如何让它们出现?

解决方案

我终于设法解决了这个问题.看来您需要在 Mac(在我的情况下是 Catalina)上安装网络链接调节器",以便在设备和模拟器"窗口中显示该选项.要安装它,请转到 Apple Developers 的下载 并下载 'Xcode 11' 的附加工具.下载后,您可以在硬件文件夹中找到它.有趣的是,在尝试安装时,我收到以下错误:

<块引用>

网络链接调节器"首选项随 macOS 一起安装,无法替换.

尽管我无法在首选项中找到它.幸运的是,这个答案中描述了一个简单的解决方法.

I trying to add device conditions in my Xcode 11 so that I can simulate a slower network connection. However, when opening Devices and Simulators window and making sure my device is selected, it says that 'No Conditions Available'

How do I make them appear?

解决方案

I finally managed to fix this. It appears that you need to have a 'Network Link Conditioner' installed on your Mac (in my case Catalina) for the the option to appear in Devices and Simulator window. To install it, go to Downloads for Apple Developers and download 'Additional Tools for Xcode 11'. Once downloaded, you can find it in the Hardware folder. Interestingly, when trying to install it, I received the following error:

"Network Link Conditioner" preferences is installed with macOS and can’t be replaced.

Despite me unable to find it in preferences. Luckily there is an easy fix described in this answer.

这篇关于Xcode 11 没有可用的设备条件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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