码迷,mamicode.com
首页 > 移动开发 > 详细

mac上运行appium提示错误Encountered internal error running command 解决办法

时间:2016-10-13 18:55:01      阅读:7056      评论:0      收藏:0      [点我收藏+]

标签:

[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 解决办法

标签:

原文地址:http://www.cnblogs.com/xiaobaichuangtianxia/p/5957529.html

(1)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!