[英]How can I remove the simulators from my build targets?
In Xcode, I have a project that uses a library only built for the device. 在Xcode中,我有一个项目,该项目使用仅为设备构建的库。
I now run into the issue whenever I disconnect my phone and reconnect it, Xcode wants to build for a simulator, which I don't want. 现在,每当我断开手机并重新连接时,我都会遇到这个问题,Xcode想要为模拟器构建,这是我不想要的。
Is there a way to exclude the simulators from the build targets list? 有没有一种方法可以将模拟器从构建目标列表中排除?
It's not project specific but from the 'Devices' window you can remove a simulator from the run destinations list. 它不是特定于项目的,但是可以在“设备”窗口中从运行目标列表中删除模拟器。 Simply right click on one and you'll see 只需右键单击一个,您就会看到
You'll have to do it to all of your installed simulators, but you can remove them. 您必须对所有已安装的模拟器执行此操作,但是可以将其删除。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.