问题一:
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