iOS模拟器每次需要2-3分钟来启动/调用 [英] iOS simulator taking 2-3 minutes every-time for starting/invoking

查看:128
本文介绍了iOS模拟器每次需要2-3分钟来启动/调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Mac上为iOS自动化设置了appium.

I have set up appium on mac for iOS automation.

每次启动模拟器都需要2-3分钟.

It is taking 2-3 minutes everytime to start the simulator.

他们说的大多数部分都是第一次才花时间,但是这里每次都花时间.

Most of the sections they said it will take time only first time but here it is taking time everytime

每次执行之后要等待那么多时间是浪费时间.

It was a waste of time to wait so much after every execution.

很少有链接说过将newCommandTimeout设置为该功能,但这是行不通的.

Few links have said to set newCommandTimeout as the capability but that doesn't work.

我正在使用以下版本

  • appium-desktop-1.2.7-mac
  • Xcode 8.1
  • 模拟器iPhone 7 Plus
  • MacOS Sierra版本10.12

任何解决方法都将是有用的:)

Any workaround will be helpful :)

推荐答案

检查如果您添加功能 noReset = true ,则模拟器将仅一次

if you add capability noReset=true, your simulator will be started only once

这篇关于iOS模拟器每次需要2-3分钟来启动/调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆