运行Appium服务时,启动不了WebDriverAgent的解决方法

打开mac终端,进入到WebDriverAgent 目录下:

输入:cd /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent

再输入命令:xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=36d1639971532c51145a64dd7f4a6e793a4b7d1b' test

其中 id是所测试iOS设备的udid(UUID)

若是还不行的话,那就再重启电脑试试。

猜你喜欢

转载自blog.51cto.com/34526667/2552151