iOS >= 9.0 时,需要手动通过命令行传递二进制文件来配置无延迟的 instruments (在 xcode < 7 时 appium 会自动加上 ),参阅 iwd
在 xcode >= 7 时启用 iwd :
- 下载 appium-instruments
- 在
<appium-instruments>/bin/
下根据以下指示的参数运行xcode-iwd.sh
:
sh <appium-instruments>/bin/xcode-iwd.sh <path to xcode> <path to appium-instruments>
比如: sh ./bin/xcode-iwd.sh /Applications/Xcode.app /Users/xyz/appium-instruments/
注意:Xcode 7 的 iwd 只在 iOS >= 9.0 时有效,你可以在 iOS < 9.0 时切换一个旧版本的 Xcode