仅构建设备不能用于运行此目标 [英] A build only device cannot be used to run this target
本文介绍了仅构建设备不能用于运行此目标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在尝试测试应用时遇到此错误。
I get this error when I trying to test an app.
仅限构建设备无法用于运行此目标。
没有支持的iOS设备可用。连接设备以运行您的应用程序或选择模拟设备作为目标。
No supported iOS devices are available. Connect a device to run your application or choose a simulated device as the destination.
推荐答案
添加 -destination 'platform = iOS模拟器,名称= iPhone 6,操作系统= 9.3'
到您的 xcodebuild
这篇关于仅构建设备不能用于运行此目标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文