iOS 模拟器每次启动/调用需要 2-3 分钟 [英] iOS simulator taking 2-3 minutes every-time for starting/invoking
本文介绍了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屋!
查看全文