ios-webkit-debug-proxy启动报错解决

macOS:10.14.5

xcode:10.0

appium:1.13.0命令安装(借助淘宝镜像)

1、启动真机safari,报错“Could not navigate to webview”,经分析ios-webkit-debug-proxy没有启动;

2、安装‘brew install ios-webkit-debug-proxy’,启动‘ios_webkit_debug_proxy -c UUID:27753 -d ’,报错‘Could not connect to lockdownd’;

3、

执行以下命令更新解决:

    brew update
    brew reinstall --HEAD libimobiledevice
    brew reinstall -s ios-webkit-debug-proxy

依赖libimobiledevice,liusbmuxd需最新版本--HEAD(checking for libusbmuxd >= 1.1.0),如果不是最新版本启动代理服务,仍会报错‘Could not connect to lockdownd’。且xcode10.0无法更新依赖,需切换到10.2.1更新;

4、更新完毕,开启服务‘ios_webkit_debug_proxy -c UUID:27753 -d’;

5、或者appium启动设置增加“startIWDP”,true;

 

参考:https://www.cnblogs.com/dreamhighqiu/p/10995970.html

          http://appium.io/docs/cn/advanced-concepts/ios-webkit-debug-proxy/

          https://github.com/google/ios-webkit-debug-proxy/releases

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值