移动端自动化系列六:appium、ios等常见问题

5 篇文章 0 订阅
3 篇文章 0 订阅

问题一:
Could not build module ‘RoutingHTTPServer’
解决方法:
进入appium-webdriveragent目录,重新执行:

sh ./Scripts/bootstrap.sh

问题二:
assign’ property of object type may become a dangling reference; consider using ‘unsafe_unretained’
解决方法:
将 assign 改为 strong ,重新build;

问题三:
“sh ./Scripts/bootstrap.sh”时报错:ERROR in ./js/app.js Module parse failed:/app.js Unexpected token
解决方法:
1)、修改Inspector下webpack.config.js文件
2)、去掉babel-loader配置,“exclude: /node_modules/”:
3)、删除Inspector下node_modules文件夹;
4)、重新执行 “sh ./Scripts/bootstrap.sh”;

问题四:
unable to find utility “simctl”
解决方法:
xcode设置里面,将Command line Tools设置一下,在Xcode>preferences>Locations里面,选择command line tools为指定的xcode

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值