gpt4 book ai didi

ios - 在不运行 Xcode 的情况下运行自动化脚本

转载 作者:行者123 更新时间:2023-11-29 02:56:18 26 4
gpt4 key购买 nike

我已经在 Instruments 中编写了一个 UI 自动化脚本,并且运行良好。现在我想知道有什么方法可以让我简单地双击脚本并开始工作,或者至少我不需要运行 Xcode 来运行脚本。

最佳答案

instruments -w 1.device_id -t /Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate 2.application -e UIASCRIPT 3.script -e UI-ARESULTSPATH 4.results path

标有 1. 2. 3. 4. 的是您键入的变量。使用此代码,输入您的设备 ID、应用程序、脚本和结果路径,然后在终端中运行整行

关于ios - 在不运行 Xcode 的情况下运行自动化脚本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23869954/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com