ios - 从命令行运行后仪器无法继续

标签 ios command-line continuous-integration ui-automation ios-ui-automation

当我使用此脚本从命令行运行 Instruments 时

instruments -w <DEVICE_ID> -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate <PATH_TO_APP> -e UIASCRIPT <PATH_TO_SCRIPT> -e UIARESULTSPATH <RESULTS_PATH>

应用程序在设备上打开,但不运行脚本。 终端光标移动到下一行,看起来就像卡住了

enter image description here

最佳答案

您需要使用开发者配置文件对您的应用程序进行签名。如果您使用企业配置文件进行签名,该应用程序将不会从命令行运行

关于ios - 从命令行运行后仪器无法继续,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14498086/

相关文章:

ios - Interface Builder 文件中的未知类 _TtC10MMCardView8CardView

linux - 从原始文本文件中选择 n 随机行并粘贴到新文件中

javascript - 在哪里输入我的 Node 命令以及为什么?

ios - jenkins 集成 xcode - shell 命令

docker - 容器停止后Docker Compose保持网络正常运行

ios - 包含 AWS 框架时无法运行应用程序

iOS UITableViewCell 内容在第一次滚动时移动

ios - 如何使用选项字典关闭 Swift 中的核心数据预写日志记录?

python - python 中用户定义的命令行参数

.net - Appharbor 上的 MSpec