简体   繁体   English

测试必须在具体设备上运行

[英]Tests must be run on a concrete device

I am trying to run test cases of custom framework.我正在尝试运行自定义框架的测试用例。 When I tried to run on physical device I got below error mentioned below.当我尝试在物理设备上运行时,出现以下错误。

xcodebuild \ -scheme Automation \ -destination'generic/platform=iOS' \ test

错误

The problem is the "generic" destination.问题是“通用”目的地。 You need to use any supported device specifier, eg:您需要使用任何支持的设备说明符,例如:

-destination 'platform=iOS Simulator,name=iPhone 14 Pro Max,OS=16.2'

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM