Xcode 11 No Device Conditions Available

南楼画角 提交于 2020-01-16 09:01:10

问题


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?


回答1:


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.




回答2:


I had the same issue. Try to install the latest system software updates (Xcode Command Line Tools in my case). It worked for me.



来源:https://stackoverflow.com/questions/58758261/xcode-11-no-device-conditions-available

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!