mac上运行appium提示错误Encountered internal error running command 解决办法
Posted 小白闯天下
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mac上运行appium提示错误Encountered internal error running command 解决办法相关的知识,希望对你有一定的参考价值。
[debug] [ios] App is not installed. Will try to install.
[MJSONWP] Encountered internal error running command: Error: Installing
/var/folders/hb/5xtrkgp16bj3rctx9kxg64t00000gn/T/2016913-9705-
1ugvtlc/Payload/Input.app failed
at
/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-
ios-driver/node_modules/node-idevice/main.js:159:6
at ChildProcess.exithandler (child_process.js:193:7)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at maybeClose (internal/child_process.js:850:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
上面是错误代码.
解决办法:
在终端执行命令:sudo chmod -R 777 /var/db/lockdown/
如果还有报错 请重启mac电脑和手机
以上是关于mac上运行appium提示错误Encountered internal error running command 解决办法的主要内容,如果未能解决你的问题,请参考以下文章
appium--Mac提示报错“could not launch WebDriverAgentRunner..........."
在mac的终端上输入appium-doctor,提示xcode报错,明明是在App Store上安装的,求大神们帮忙
如何在 MAC 机器中从命令提示符启动 Appium 服务器?