报错信息:
Couldn’t start Appium REST http interface listener. Requested port is already in use. Please make sure there’s no other instance of Appium running already.
解决办法:在终端执行下述命令
killall -9 node
PS:检查Appium(iOS)相关的配置是否完整
1. 先安装依赖库,如果已安装直接下一步
brew install libimobiledevice --HEAD
npm install -g ios-deploy #如果是iOS10以上的系统才需要安装
2. 安装自检工具appium-doctor
npm install appium-doctor -g
3. 自检&解决错误
终端执行下述检查配置的命令,逐个解决输出结果中打❌的项,直到所有项目全部打✅为止。
npm doctor