1. 程式人生 > >為 xcode 7 和 iOS >= 9.0 配置無延遲 instruments(iwd)

為 xcode 7 和 iOS >= 9.0 配置無延遲 instruments(iwd)

iOS >= 9.0 時,需要手動通過命令列傳遞二進位制檔案來配置無延遲的 instruments (在 xcode < 7 時 appium 會自動加上 ),參閱 iwd

在 xcode >= 7 時啟用 iwd :

  • 在 <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